@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;600;700&family=Noto+Serif+TC:wght@500;600;700&display=swap");

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-deep: #f7f7f7;
  --ink: #222222;
  --ink-soft: #6a6a6a;
  --accent: #ff385c;
  --accent-strong: #e00b41;
  --gold: #92174d;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --shadow-soft: rgba(0, 0, 0, 0.02) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 6px, rgba(0, 0, 0, 0.1) 0px 4px 8px;
  --shadow-card: rgba(0, 0, 0, 0.02) 0px 0px 0px 1px, rgba(0, 0, 0, 0.04) 0px 2px 6px, rgba(0, 0, 0, 0.1) 0px 4px 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --header-h: 78px;
  --container: min(1160px, calc(100% - 3rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.72;
  letter-spacing: 0.012em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(95% 65% at 88% 10%, rgba(172, 166, 147, 0.18), transparent 60%),
    radial-gradient(85% 54% at 6% 86%, rgba(104, 114, 100, 0.15), transparent 58%),
    linear-gradient(140deg, #f5f2ec, #efebe2 60%, #ece8df);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(to right, rgba(44, 53, 46, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(44, 53, 46, 0.045) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 50% 40%, black 15%, transparent 88%);
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #f7f5ef;
  z-index: 110;
}

.skip-link:focus-visible {
  top: 16px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  border-bottom: 1px solid rgba(31, 38, 34, 0.1);
  backdrop-filter: blur(12px);
  background: rgba(243, 240, 231, 0.78);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 9px;
  border: 1px solid rgba(30, 37, 33, 0.18);
  background:
    radial-gradient(circle at 28% 26%, rgba(189, 172, 137, 0.66), transparent 48%),
    linear-gradient(160deg, rgba(77, 91, 74, 0.92), rgba(42, 49, 44, 0.95));
  box-shadow: inset 0 0 0 1px rgba(236, 229, 212, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.2;
}

.brand-text strong {
  font-size: clamp(1.1rem, 1.75vw, 1.32rem);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.09em;
  text-transform: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.9rem;
  color: #39423d;
  letter-spacing: 0.05em;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.72rem 1.35rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.62rem 1.06rem;
  border-color: var(--line-strong);
  background: rgba(248, 245, 237, 0.84);
}

.btn-sm:hover,
.btn-sm:focus-visible {
  background: #fff;
}

.btn-primary {
  background: linear-gradient(146deg, #222823, #313a34 52%, #2a332d);
  color: #f8f6f1;
  box-shadow: 0 14px 28px rgba(23, 29, 24, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 19px 32px rgba(23, 29, 24, 0.28);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(248, 245, 237, 0.58);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(35, 44, 37, 0.38);
  background: rgba(250, 248, 242, 0.92);
}

.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + clamp(2.75rem, 4vw, 4rem)) 0 clamp(6.5rem, 9vw, 8rem);
  overflow: hidden;
  isolation: isolate;
  color: #f7f7f5;
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 56, 92, 0.1), transparent 26%),
    radial-gradient(circle at 28% 78%, rgba(255, 255, 255, 0.035), transparent 32%),
    #050505;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 7.5rem;
  z-index: -1;
  pointer-events: none;
  opacity: 0.46;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 68% 43%, #000 0, transparent 70%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(90px, 8vw, 110px);
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 0.8px, transparent 1px),
    linear-gradient(to bottom, rgba(5, 5, 5, 0), #ffffff 92%);
  background-size: 4px 4px, 100% 100%;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000);
}

.hero-shell {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 650px;
}

.eyebrow {
  margin: 0;
  color: #5b645d;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.73rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: "Noto Serif TC", "Songti TC", serif;
  line-height: 1.24;
  letter-spacing: 0.024em;
  margin: 0;
  color: #171c19;
}

h1 {
  margin-top: 1.05rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

.hero .eyebrow {
  color: #a2a2a2;
}

.hero h1 {
  max-width: 12ch;
  color: #ffffff;
  font-size: clamp(2.65rem, 4.8vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero-slogan {
  max-width: 38ch;
  margin: 1.35rem 0 0;
  color: #c5c5c5;
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.72;
}

.hero-points {
  margin: 1.45rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.2rem;
  color: #ececea;
  font-size: 0.95rem;
  letter-spacing: 0.035em;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 56, 92, 0.1);
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero .btn-primary {
  border-color: rgba(255, 255, 255, 0.96);
  background: #ffffff;
  color: #101010;
  box-shadow: none;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
  background: #f1f1ef;
  box-shadow: none;
}

.hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.035);
  color: #f5f5f3;
}

.hero .btn-ghost:hover,
.hero .btn-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero-system {
  position: relative;
  width: 100%;
  min-height: 430px;
  overflow: hidden;
}

.system-grid {
  position: absolute;
  inset: 8% -5% -5%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 42px 42px;
  transform: perspective(620px) rotateX(64deg) rotateZ(-28deg) scale(1.05);
  transform-origin: center 64%;
  mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(270px, 48%);
  aspect-ratio: 1.34;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 25%, rgba(255, 56, 92, 0.22), transparent 42%),
    linear-gradient(145deg, rgba(26, 26, 26, 0.96), rgba(8, 8, 8, 0.98));
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.025),
    0 0 0 16px rgba(255, 255, 255, 0.014),
    0 30px 65px rgba(0, 0, 0, 0.64);
  transform: translate(-50%, -48%) rotate(-4deg);
}

.system-core::before,
.system-core::after {
  content: "";
  position: absolute;
  inset: 10px -11px -13px 11px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: inherit;
  background: #0a0a0a;
}

.system-core::after {
  inset: 20px -20px -24px 20px;
  opacity: 0.5;
}

.system-core-mark {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 56, 92, 0.72);
  border-radius: 18px;
  color: #ff6681;
  font-family: "Noto Serif TC", serif;
  font-size: 1.45rem;
  font-weight: 700;
  box-shadow: inset 0 0 28px rgba(255, 56, 92, 0.14);
}

.system-core strong {
  margin-top: 0.85rem;
  color: #f6f6f4;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.system-core small {
  margin-top: 0.22rem;
  color: #777;
  font-size: 0.67rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.system-node {
  position: absolute;
  z-index: 2;
  width: 145px;
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(9, 9, 9, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.system-node span {
  color: #ff6681;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.system-node strong {
  display: block;
  margin-top: 0.12rem;
  color: #d7d7d4;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.node-agent {
  top: 13%;
  left: 3%;
}

.node-knowledge {
  top: 10%;
  right: 2%;
}

.node-automation {
  bottom: 10%;
  left: 0;
}

.node-product {
  right: 3%;
  bottom: 8%;
}

.system-link {
  position: absolute;
  z-index: 1;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 56, 92, 0.6), rgba(255, 255, 255, 0.2));
  transform-origin: left center;
}

.link-agent {
  top: 29%;
  left: 24%;
  width: 28%;
  transform: rotate(24deg);
}

.link-knowledge {
  top: 27%;
  left: 54%;
  width: 28%;
  transform: rotate(-28deg);
}

.link-automation {
  top: 69%;
  left: 22%;
  width: 30%;
  transform: rotate(-24deg);
}

.link-product {
  top: 67%;
  left: 54%;
  width: 29%;
  transform: rotate(27deg);
}

.hero-badges {
  position: relative;
  margin: clamp(1.45rem, 3vw, 2.05rem) 0 0;
  list-style: none;
  padding: 1.08rem 0 0.12rem;
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 1.1fr;
  gap: 0;
  max-width: 900px;
  border-top: 1px solid rgba(38, 48, 42, 0.18);
}

.hero-badges::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: clamp(54px, 9vw, 112px);
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 11, 65, 0.72), rgba(224, 11, 65, 0));
}

.hero-badges li {
  margin: 0;
}

.hero-badge-item {
  position: relative;
  padding: 0.2rem clamp(0.8rem, 2vw, 1.15rem) 0.2rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.66rem;
  align-items: start;
  transition: transform 0.28s ease;
}

.hero-badge-item + .hero-badge-item {
  padding-left: clamp(0.85rem, 2vw, 1.25rem);
  border-left: 1px solid rgba(38, 48, 42, 0.12);
}

.hero-badge-item::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.62rem;
  width: 30%;
  height: 1px;
  background: linear-gradient(90deg, rgba(224, 11, 65, 0.7), transparent);
  transform-origin: left;
  transform: scaleX(0.38);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.hero-badge-item:hover {
  transform: translateY(-2px);
}

.hero-badge-item:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero-badge-index {
  margin-top: 0.1rem;
  width: auto;
  border: 0;
  background: transparent;
  font-family: "Noto Serif TC", serif;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  color: #e00b41;
  letter-spacing: 0.04em;
}

.hero-badge-title {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.02rem, 1.18vw, 1.14rem);
  line-height: 1.45;
  color: #242424;
  letter-spacing: 0.005em;
}

.hero-badge-meta {
  margin: 0.28rem 0 0;
  font-size: 0.84rem;
  color: #8b626b;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero .hero-badges {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  border-top-color: rgba(255, 255, 255, 0.16);
}

.hero .hero-badges::before {
  background: linear-gradient(90deg, var(--accent), rgba(255, 56, 92, 0));
}

.hero .hero-badge-item + .hero-badge-item {
  border-left-color: rgba(255, 255, 255, 0.11);
}

.hero .hero-badge-title {
  color: #f1f1ef;
}

.hero .hero-badge-meta {
  color: #8f8f8c;
}

.hero .hero-badge-index {
  color: #ff6681;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: start;
}

.section-heading h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3.7vw, 2.6rem);
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  max-width: 55ch;
}

.section-body p {
  margin: 0;
  color: #3d4641;
}

.section-body p + p {
  margin-top: 1rem;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  align-items: end;
}

.section-note {
  margin: 0;
  max-width: 48ch;
  color: #4b544f;
  font-size: 0.98rem;
}

.services-grid {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.6rem, 4vw, 3.6rem);
  row-gap: 0;
  border-top: 1px solid rgba(34, 34, 34, 0.14);
  border-bottom: 1px solid rgba(34, 34, 34, 0.1);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 3.1rem 1fr;
  align-content: start;
  gap: 0 1rem;
  min-height: 172px;
  padding: clamp(1.15rem, 2.3vw, 1.6rem) 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transition: transform 0.28s ease, padding-left 0.28s ease;
}

.service-card:nth-child(n + 3) {
  border-top: 1px solid rgba(34, 34, 34, 0.1);
}

.service-card:nth-child(odd) {
  padding-right: clamp(0.8rem, 2vw, 1.5rem);
}

.service-card:nth-child(even) {
  padding-left: clamp(0.8rem, 2vw, 1.5rem);
  border-left: 1px solid rgba(34, 34, 34, 0.08);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 56, 92, 0.85), rgba(255, 56, 92, 0));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.32s ease;
}

.service-card:nth-child(even)::before {
  left: clamp(0.8rem, 2vw, 1.5rem);
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
}

.service-card:hover::before,
.service-card:focus-within::before {
  transform: scaleY(1);
}

.service-index {
  grid-row: span 2;
  display: block;
  margin: 0.15rem 0 0;
  color: #e00b41;
  letter-spacing: 0.08em;
  font-family: "Noto Serif TC", serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
}

.service-card h3 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.22rem, 1.65vw, 1.52rem);
  line-height: 1.34;
  letter-spacing: 0.01em;
}

.service-card p {
  grid-column: 2;
  margin: 0.72rem 0 0;
  color: #5b5b5b;
  font-size: clamp(0.95rem, 1.04vw, 1rem);
  line-height: 1.85;
}

.section-projects {
  position: relative;
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.section-projects::before {
  content: none;
}

#services.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(7rem, 10vw, 9rem);
  padding-bottom: clamp(7rem, 10vw, 9rem);
  color: #f7f7f5;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 56, 92, 0.09), transparent 28%),
    #050505;
}

#services.section::before,
#services.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  height: clamp(90px, 8vw, 110px);
  pointer-events: none;
  background-size: 4px 4px, 100% 100%;
}

#services.section::before {
  top: -1px;
  background-image:
    radial-gradient(circle, rgba(5, 5, 5, 0.82) 0 0.8px, transparent 1px),
    linear-gradient(to bottom, #ffffff 0%, #050505 92%);
  mask-image: linear-gradient(to bottom, #000, #000 80%, transparent);
}

#services.section::after {
  bottom: -1px;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.82) 0 0.8px, transparent 1px),
    linear-gradient(to bottom, #050505 0%, #ffffff 92%);
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000);
}

#services > .container {
  position: relative;
  z-index: 1;
}

#services .eyebrow,
#services .service-index {
  color: #ff6681;
}

#services h2,
#services .service-card h3 {
  color: #f7f7f5;
}

#services .section-note,
#services .service-card p {
  color: #a7a7a3;
}

#services .services-grid {
  border-top-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

#services .service-card:nth-child(n + 3) {
  border-top-color: rgba(255, 255, 255, 0.12);
}

#services .service-card:nth-child(even) {
  border-left-color: rgba(255, 255, 255, 0.1);
}

#awards.section {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

#proof.section {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
  padding-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

#contact.section {
  padding-top: clamp(2.2rem, 4vw, 3.2rem);
}

.project-grid {
  margin-top: 2.05rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.project-card {
  grid-column: span 6;
  border-radius: var(--radius-md);
  border: 1px solid rgba(44, 52, 46, 0.16);
  background: rgba(251, 249, 244, 0.88);
  overflow: hidden;
  height: fit-content;
  transition: transform 0.34s ease, border-color 0.34s ease, box-shadow 0.34s ease;
}

.project-card.featured {
  grid-column: span 6;
}

.project-card.has-video {
  grid-column: span 6;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(59, 69, 62, 0.35);
  box-shadow: 0 20px 36px rgba(23, 30, 25, 0.14);
}

.project-media {
  padding: 0.8rem;
  border-bottom: 1px solid rgba(49, 58, 51, 0.14);
}

.mock-browser {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(43, 51, 45, 0.2);
  background: #faf8f1;
}

.mock-top {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0 0.68rem;
  border-bottom: 1px solid rgba(47, 56, 48, 0.16);
  background: #f4f1e6;
}

.dots {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dots span {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(61, 71, 63, 0.4);
}

.mock-url {
  font-size: 0.67rem;
  color: #5b645f;
  letter-spacing: 0.04em;
  max-width: 78%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: right;
}

.mock-canvas {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  background: linear-gradient(170deg, #1d2621, #2a332d);
  overflow: hidden;
  color: #f7f5ee;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.mock-canvas-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #0f1512;
}

.mock-canvas-media.media-fill {
  object-fit: cover;
}

.project-card.has-video .mock-canvas {
  aspect-ratio: 16 / 8.4;
}

.media-chip {
  position: absolute;
  right: 0.6rem;
  bottom: 0.6rem;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.46rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 231, 220, 0.46);
  color: #ede8dd;
  background: rgba(14, 18, 16, 0.42);
}

.tone-1 {
  background:
    radial-gradient(circle at 76% 18%, rgba(221, 199, 157, 0.42), transparent 46%),
    linear-gradient(155deg, #2e3a33 4%, #1f2a24 42%, #3e4f45);
}

.tone-2 {
  background:
    radial-gradient(circle at 28% 22%, rgba(187, 176, 145, 0.38), transparent 43%),
    linear-gradient(170deg, #203138, #33464f, #243138);
}

.tone-3 {
  background:
    radial-gradient(circle at 76% 82%, rgba(183, 161, 120, 0.42), transparent 45%),
    linear-gradient(150deg, #31302a, #4a4a41, #282720);
}

.tone-4 {
  background:
    radial-gradient(circle at 13% 66%, rgba(196, 167, 120, 0.35), transparent 42%),
    linear-gradient(150deg, #33363d, #2a3037, #3e464f);
}

.tone-5 {
  background:
    radial-gradient(circle at 74% 24%, rgba(203, 186, 141, 0.4), transparent 44%),
    linear-gradient(160deg, #2a332f, #374139, #202824);
}

.project-content {
  padding: 1rem 1rem 1.15rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.project-type {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f6a61;
}

.project-link {
  font-size: 0.83rem;
  color: #303833;
  border-bottom: 1px solid rgba(47, 56, 49, 0.4);
}

.project-link:hover,
.project-link:focus-visible {
  border-bottom-color: #232a25;
}

.project-content h3 {
  margin-top: 0.44rem;
  font-size: 1.28rem;
}

.project-content p {
  margin: 0.62rem 0 0;
  color: #49514c;
  font-size: 0.95rem;
}

.project-content .project-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.72rem;
  padding: 0.36rem 0.62rem;
  border: 1px solid rgba(255, 56, 92, 0.16);
  border-radius: 999px;
  background: rgba(255, 56, 92, 0.055);
  color: #7b4c55;
  font-size: 0.78rem;
  line-height: 1.45;
}

.tags {
  margin: 0.82rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tags li {
  border: 1px solid rgba(61, 71, 63, 0.2);
  border-radius: 999px;
  padding: 0.28rem 0.56rem;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  color: #445049;
}

.awards-layout {
  align-items: stretch;
}

.award-list {
  display: grid;
  gap: 0.75rem;
}

.award-item {
  border-left: 1px solid rgba(53, 63, 56, 0.28);
  padding: 0.85rem 0 0.85rem 1rem;
  position: relative;
}

.award-item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 1.38rem;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(160deg, #c1a873, #8f784e);
  box-shadow: 0 0 0 4px rgba(193, 168, 115, 0.12);
}

.award-year {
  margin: 0;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #5b655f;
}

.award-item h3 {
  margin-top: 0.34rem;
  font-size: 1.14rem;
}

.award-item p {
  margin: 0.4rem 0 0;
  color: #48514b;
}

.award-visual {
  margin: 1rem 0 0;
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 61, 55, 0.18);
  overflow: hidden;
  background: rgba(250, 247, 239, 0.84);
}

.award-visual img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #121814;
}

.proof-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.proof-card {
  grid-column: span 1;
  border-radius: var(--radius-md);
  border: 1px solid rgba(46, 55, 48, 0.16);
  background: rgba(252, 249, 243, 0.84);
  padding: 0.8rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.8rem;
  height: 100%;
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.proof-card:hover,
.proof-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(57, 67, 59, 0.3);
  box-shadow: var(--shadow-card);
}

.proof-card.layout-hero {
  grid-column: span 1;
}

.proof-card.layout-side {
  grid-column: span 1;
}

.proof-media {
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(45, 55, 48, 0.16);
  background:
    linear-gradient(160deg, rgba(248, 246, 240, 0.92), rgba(236, 232, 222, 0.84)),
    radial-gradient(circle at 82% 18%, rgba(177, 159, 122, 0.18), transparent 45%);
  min-height: clamp(120px, 13vw, 162px);
  display: grid;
  place-items: center;
  padding: 0.5rem;
  overflow: hidden;
}

.proof-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.proof-media img.img-compact {
  width: 74%;
  height: auto;
  max-height: 124px;
}

.proof-media img.img-no1 {
  width: 86%;
  height: auto;
  max-height: 136px;
}

.proof-media img.img-sheraton {
  width: 90%;
  height: auto;
  max-height: 130px;
}

.proof-card:hover .proof-media img,
.proof-card:focus-within .proof-media img {
  transform: scale(1.015);
}

.proof-content {
  padding: 0.06rem 0.2rem 0.1rem;
}

.proof-label {
  margin: 0;
  color: #5b655f;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proof-value {
  margin: 0.55rem 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.3;
}

.proof-desc {
  margin: 0.4rem 0 0;
  color: #4a534d;
  font-size: 0.92rem;
}

.section-cta {
  padding-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.cta-card {
  border: 1px solid rgba(43, 52, 45, 0.2);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3.8vw, 2.2rem);
  background:
    linear-gradient(160deg, rgba(252, 249, 242, 0.88), rgba(238, 233, 223, 0.84)),
    radial-gradient(circle at 100% 0%, rgba(179, 160, 124, 0.18), transparent 38%);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 1fr 345px;
  gap: 1rem;
  align-items: start;
}

.cta-card h2 {
  margin-top: 0.78rem;
  font-size: clamp(1.56rem, 3.2vw, 2.26rem);
}

.cta-card p {
  margin: 0.88rem 0 0;
  color: #454e48;
}

.contact-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 61, 54, 0.2);
  background: rgba(251, 248, 240, 0.9);
  padding: 1rem;
}

.contact-card h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5f6963;
}

.contact-name {
  margin: 0.42rem 0 0;
  font-family: "Noto Serif TC", serif;
  font-size: 1.5rem;
}

.contact-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.52rem;
}

.contact-card li {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 0.4rem;
  align-items: center;
}

.contact-card span {
  color: #5f6963;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.contact-card a {
  color: #1f2521;
  font-size: 0.92rem;
  word-break: break-word;
}

.contact-card .btn-primary,
.contact-card .btn-primary:hover,
.contact-card .btn-primary:focus-visible {
  color: #ffffff;
}

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 0;
  padding: clamp(6.5rem, 9vw, 8rem) 0 2.2rem;
  color: #f7f7f5;
  background: #050505;
}

.footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: clamp(90px, 8vw, 110px);
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(5, 5, 5, 0.82) 0 0.8px, transparent 1px),
    linear-gradient(to bottom, #ffffff 0%, #050505 92%);
  background-size: 4px 4px, 100% 100%;
  mask-image: linear-gradient(to bottom, #000, #000 80%, transparent);
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer-brand {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 1.15rem;
}

.footer p {
  margin: 0.26rem 0 0;
  color: #4d5651;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #343c37;
  font-size: 0.88rem;
}

.copyright {
  color: #66706a;
  font-size: 0.81rem;
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* DESIGN.md theme override: color-only (no layout changes) */
body::before {
  background:
    radial-gradient(80% 52% at 90% 10%, rgba(255, 56, 92, 0.07), transparent 60%),
    radial-gradient(75% 48% at 5% 95%, rgba(146, 23, 77, 0.06), transparent 58%),
    linear-gradient(160deg, #ffffff, #fcfcfc 58%, #f8f8f8);
}

body::after {
  opacity: 0.2;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.topbar {
  border-bottom-color: rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

.brand-text small,
.section-note,
.section-heading p,
.section-body p,
.project-content p,
.award-item p,
.proof-desc,
.footer p,
.copyright,
.mock-url {
  color: var(--ink-soft);
}

.nav a {
  color: #3f3f3f;
}

.nav a::after {
  background: var(--accent);
}

.btn-sm {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.14);
  color: var(--ink);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: rgba(255, 56, 92, 0.28) 0px 8px 18px;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: rgba(224, 11, 65, 0.32) 0px 10px 22px;
}

.btn-ghost {
  border-color: rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: var(--ink);
}

h1,
h2,
h3 {
  color: var(--ink);
}

.project-card,
.proof-card,
.cta-card,
.contact-card,
.award-visual,
.mock-browser {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-card);
}

.project-card:hover,
.proof-card:hover {
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: rgba(0, 0, 0, 0.08) 0px 4px 12px;
}

.hero-badge-title {
  color: var(--ink);
}

.project-type,
.proof-label,
.award-year {
  color: #6a6a6a;
}

.mock-top {
  background: #f7f7f7;
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.mock-canvas,
.mock-canvas-media {
  background: #f2f2f2;
}

.mock-canvas-media.media-fill {
  object-fit: cover;
}

.media-chip {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(34, 34, 34, 0.45);
}

.project-link {
  color: var(--accent-strong);
  border-bottom-color: rgba(224, 11, 65, 0.45);
}

.project-link:hover,
.project-link:focus-visible {
  border-bottom-color: var(--accent-strong);
}

.tags li {
  border-color: rgba(0, 0, 0, 0.14);
  background: #ffffff;
  color: #3f3f3f;
}

.award-item {
  border-left-color: rgba(0, 0, 0, 0.14);
}

.award-item::before {
  background: linear-gradient(160deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 0 4px rgba(255, 56, 92, 0.14);
}

.contact-card span {
  color: #6a6a6a;
}

.contact-card a,
.footer-links a {
  color: #222222;
}

.footer {
  border-top-color: transparent;
  background: #050505;
}

.footer .footer-brand {
  color: #f7f7f5;
}

.footer p {
  color: #999995;
}

.footer .footer-links a {
  color: #d7d7d3;
}

.footer .footer-links a:hover,
.footer .footer-links a:focus-visible {
  color: #ffffff;
}

.footer .copyright {
  color: #747470;
}

.topbar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

.brand-text strong {
  color: #f7f7f5;
}

.brand-text small {
  color: #7f7f7c;
}

.nav a {
  color: #bdbdb9;
}

.nav a::after {
  background: var(--accent);
}

.topbar .btn-sm {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.045);
  color: #f7f7f5;
}

.topbar .btn-sm:hover,
.topbar .btn-sm:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.section-projects {
  background: #ffffff;
}

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-system {
    width: min(680px, 100%);
    min-height: 430px;
    margin: 0.5rem auto 0;
  }

  .hero-badges {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-badge-item {
    padding: 0.78rem 0;
  }

  .hero-badge-item + .hero-badge-item {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
  }

  .split-section,
  .cta-card {
    grid-template-columns: 1fr;
  }

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

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    min-height: auto;
    padding: 1.15rem 0;
    border-left: 0;
  }

  .service-card:nth-child(n + 2) {
    border-top: 1px solid rgba(34, 34, 34, 0.1);
  }

  #services .service-card:nth-child(n + 2) {
    border-top-color: rgba(255, 255, 255, 0.12);
  }

  .service-card:nth-child(even)::before {
    left: 0;
  }

  .project-card {
    grid-column: span 6;
  }

  .project-card.featured {
    grid-column: span 12;
  }

  .project-card.has-video {
    grid-column: span 12;
  }

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

  .proof-card,
  .proof-card.layout-hero,
  .proof-card.layout-side {
    grid-column: span 1;
  }

  .proof-media img.img-compact {
    width: 78%;
    max-height: 120px;
  }

  .proof-media img.img-no1 {
    width: 88%;
    max-height: 132px;
  }

  .proof-media img.img-sheraton {
    width: 92%;
    max-height: 126px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(1160px, calc(100% - 1.4rem));
    --header-h: 72px;
  }

  .topbar-inner {
    gap: 0.65rem;
  }

  .brand-text small {
    display: none;
  }

  .nav {
    display: none;
  }

  .btn-sm {
    padding: 0.56rem 0.9rem;
  }

  .hero-badges {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 3.5rem);
    padding-bottom: 8.5rem;
  }

  .hero-system {
    min-height: 315px;
    margin-top: 1.1rem;
  }

  .system-grid {
    inset: 6% -18% -10%;
  }

  .system-core {
    width: min(220px, 58%);
  }

  .system-node {
    width: 118px;
    padding: 0.58rem 0.7rem;
  }

  .node-agent,
  .node-automation {
    left: 0;
  }

  .node-knowledge,
  .node-product {
    right: 0;
  }

  .hero h1 {
    font-size: clamp(1.76rem, 8.3vw, 2.32rem);
  }

  .hero-slogan {
    font-size: 1rem;
  }

  .section-heading h2 {
    font-size: clamp(1.48rem, 6.6vw, 2rem);
  }

  .row {
    flex-direction: column;
    align-items: start;
  }

  .services-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-card,
  .proof-card.layout-hero,
  .proof-card.layout-side {
    grid-column: span 1;
  }

  .proof-media img.img-compact {
    width: 84%;
    max-height: 118px;
  }

  .proof-media img.img-no1 {
    width: 90%;
    max-height: 126px;
  }

  .proof-media img.img-sheraton {
    width: 94%;
    max-height: 122px;
  }

  .project-card,
  .project-card.featured,
  .project-card.has-video {
    grid-column: span 12;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 0.88rem;
  }

  .copyright {
    margin-top: -0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
