:root {
  color: #050505;
  background: #ffffff;
  font-family:
    "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #050505;
  --paper: #ffffff;
  --soft: #f5f5f5;
  --line: #d8d8d8;
  --muted: #666666;
  --deep: #111111;
  --silver: #bdbdbd;
  --pink: #e9b8bf;
  --pink-soft: #f8e8ea;
  --champagne: #c7a276;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

body.menu-open {
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  min-height: 88px;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 300px;
}

.brand-lockup img {
  width: 100%;
  height: auto;
}

.desktop-nav {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-self: start;
  font-size: 14px;
}

.desktop-nav a,
.submenu-trigger,
.header-actions a,
.site-footer a {
  border-bottom: 1px solid transparent;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.submenu-trigger:hover,
.submenu-trigger:focus-visible,
.header-actions a:hover,
.header-actions a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  border-color: currentColor;
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  gap: 30px;
  font-size: 14px;
}

.nav-dropdown {
  position: relative;
}

.submenu-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
}

.submenu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 45;
  display: grid;
  min-width: 190px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
}

.submenu a {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.submenu a:last-child {
  border-bottom: 0;
}

.nav-dropdown:hover .submenu,
.nav-dropdown:focus-within .submenu,
.submenu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.menu-toggle,
.mobile-close {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 32px;
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  text-align: center;
}

.mobile-menu span {
  color: var(--muted);
  font-size: 17px;
  font-family: inherit;
}

.mobile-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  font-size: 38px;
  line-height: 1;
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--deep);
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(0, 0, 0, 0.46);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.15);
  transform: scale(1.04);
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0 90px;
  color: var(--paper);
  text-align: center;
}

.eyebrow {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: currentColor;
}

.hero-copy h1 {
  margin: 24px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

.home-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-panel {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--soft);
}

.home-panel:last-child {
  border-right: 0;
}

.home-panel img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.home-panel > div {
  position: absolute;
  left: 46px;
  bottom: 38px;
  max-width: 420px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

.home-panel h2 {
  margin: 10px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.14;
}

.home-panel span {
  display: block;
  color: #2d2d2d;
  font-size: 15px;
  line-height: 1.7;
}

.home-panel a {
  display: inline-flex;
  margin-top: 18px;
  border-bottom: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.service-strip a {
  display: grid;
  gap: 10px;
  min-height: 148px;
  align-content: center;
  border-right: 1px solid var(--line);
  padding: 26px 34px;
}

.service-strip a:last-child {
  border-right: 0;
}

.service-strip span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.service-strip strong {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.service-strip a:hover,
.service-strip a:focus-visible {
  background: var(--pink-soft);
}

.page-hero {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 100px 0 72px;
}

.page-hero h1,
.about-layout h1,
.consult-copy h1 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 1.08;
}

.page-hero p:not(.eyebrow) {
  max-width: 820px;
  margin: 24px 0 0;
  color: #333333;
  font-size: 18px;
  line-height: 1.8;
}

.dark-page-hero {
  width: 100%;
  min-height: 420px;
  margin: 0;
  padding: 98px max(24px, calc((100% - 1180px) / 2)) 82px;
  background: var(--ink);
  color: var(--paper);
}

.dark-page-hero p:not(.eyebrow) {
  color: #e7e7e7;
}

.product-showcase,
.ai-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.product-showcase article,
.ai-list article {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 430px;
  border-bottom: 1px solid var(--line);
}

.product-showcase article:nth-child(even),
.ai-list article:nth-child(even) {
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
}

.product-showcase article:nth-child(even) img,
.ai-list article:nth-child(even) img {
  grid-column: 2;
}

.product-showcase article:nth-child(even) div,
.ai-list article:nth-child(even) div {
  grid-column: 1;
  grid-row: 1;
}

.product-showcase img,
.ai-list img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  background: var(--paper);
}

.product-showcase #identity img {
  width: 62%;
  height: auto;
  min-height: 0;
  align-self: center;
  justify-self: center;
  object-fit: contain;
}

.product-showcase article > div,
.ai-list article > div {
  align-self: center;
  padding: 52px;
}

.product-showcase h2,
.ai-list h2,
.method-grid h2 {
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
}

.product-showcase p:not(.eyebrow),
.ai-list p:not(.eyebrow),
.method-grid p,
.about-layout p {
  color: #333333;
  font-size: 17px;
  line-height: 1.85;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.method-grid article {
  min-height: 300px;
  border-right: 1px solid var(--line);
  padding: 38px;
}

.method-grid article:last-child {
  border-right: 0;
}

.method-grid span {
  color: var(--pink);
  font-size: 14px;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 60px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 112px;
}

.about-layout > div {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
}

.about-layout img {
  width: 78%;
}

.hero-copy p:not(.eyebrow) {
  width: min(640px, 100%);
  margin: 24px auto 0;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-width: 150px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 0 24px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button-light {
  background: var(--paper);
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--soft);
}

.button-outline {
  background: transparent;
  color: var(--paper);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #2b2b2b;
}

.brand-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 92px;
}

.brand-intro > div {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  background: var(--paper);
}

.brand-intro img {
  width: 74%;
}

.brand-intro article {
  max-width: 660px;
}

.brand-intro h2,
.section-heading h2,
.strategy-copy h2,
.consult-copy h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

.brand-intro p:not(.eyebrow),
.section-heading p:not(.eyebrow),
.strategy-copy p:not(.eyebrow),
.consult-copy p:not(.eyebrow) {
  margin: 24px 0 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.85;
}

.products {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 66px 0 38px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.product-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: var(--ink);
}

.product-card:last-child {
  border-right: 0;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.96;
  transition:
    transform 320ms ease,
    opacity 320ms ease;
}

.product-card:hover img,
.product-card.is-active img {
  transform: scale(1.03);
  opacity: 1;
}

.product-copy {
  display: grid;
  align-content: start;
  min-height: 260px;
  padding: 34px;
  color: var(--paper);
}

.product-copy p,
.strategy-panel p {
  margin: 0;
  color: var(--pink);
  font-size: 14px;
}

.product-copy h3 {
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.15;
}

.product-copy span {
  color: #e7e7e7;
  font-size: 15px;
  line-height: 1.75;
}

.product-copy button {
  justify-self: start;
  margin-top: 24px;
  min-width: 122px;
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.product-card.is-active {
  background:
    linear-gradient(180deg, rgba(233, 184, 191, 0.16), rgba(0, 0, 0, 0)),
    var(--ink);
}

.strategy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 58px;
  align-items: stretch;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
}

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

.strategy-panel {
  display: grid;
  align-content: end;
  min-height: 430px;
  border: 1px solid var(--ink);
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(233, 184, 191, 0.28), transparent 58%),
    var(--ink);
  color: var(--paper);
}

.strategy-panel strong {
  margin: 16px 0 18px;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.strategy-panel span {
  color: #e7e7e7;
  font-size: 16px;
  line-height: 1.75;
}

.strategy-copy h2 {
  margin: 16px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.15;
}

.service-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-item {
  display: grid;
  gap: 10px;
  min-height: 132px;
  align-content: center;
  justify-items: start;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 28px 40px;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
}

.service-item:last-child {
  border-right: 0;
}

.service-item.is-selected,
.service-item:hover,
.service-item:focus-visible {
  background: var(--pink-soft);
  color: var(--ink);
}

.service-item span {
  font-size: 13px;
}

.service-item strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 64px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0 102px;
}

.consult-copy {
  align-self: start;
}

.consult-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  padding: 34px;
}

.consult-form label {
  display: grid;
  gap: 8px;
  color: #262626;
  font-size: 14px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
}

.consult-form input,
.consult-form select {
  min-height: 48px;
  padding: 0 14px;
}

.consult-form textarea {
  min-height: 130px;
  padding: 14px;
  resize: vertical;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.form-output {
  border-left: 3px solid var(--ink);
  padding: 12px 14px;
  background: var(--soft);
  color: #202020;
  font-size: 15px;
  line-height: 1.6;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr repeat(3, auto);
  gap: 28px;
  align-items: center;
  min-height: 86px;
  padding: 0 36px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 56px 1fr 56px;
    min-height: 78px;
    padding: 0 18px;
  }

  .menu-toggle {
    grid-column: 1;
    grid-row: 1;
    display: block;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .brand-lockup {
    grid-column: 2;
    width: 228px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy h1 {
    font-size: 44px;
  }

  .brand-intro,
  .strategy,
  .consultation {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .brand-intro {
    padding: 68px 0;
  }

  .brand-intro > div {
    max-width: 420px;
    margin: 0 auto;
  }

  .home-panels,
  .product-grid,
  .service-band,
  .service-strip,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .home-panel,
  .service-strip a,
  .method-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-showcase article,
  .product-showcase article:nth-child(even),
  .ai-list article,
  .ai-list article:nth-child(even),
  .about-layout {
    grid-template-columns: 1fr;
  }

  .product-showcase article:nth-child(even) img,
  .ai-list article:nth-child(even) img,
  .product-showcase article:nth-child(even) div,
  .ai-list article:nth-child(even) div {
    grid-column: auto;
    grid-row: auto;
  }

  .product-card,
  .service-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card:last-child,
  .service-item:last-child {
    border-bottom: 0;
  }

  .strategy-panel {
    min-height: 300px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 24px;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
  }

  .brand-lockup {
    width: 188px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-copy {
    width: calc(100% - 34px);
    padding: 94px 0 72px;
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .brand-intro h2,
  .section-heading h2,
  .strategy-copy h2,
  .consult-copy h2,
  .page-hero h1,
  .about-layout h1,
  .consult-copy h1 {
    font-size: 34px;
  }

  .brand-intro,
  .section-heading,
  .strategy,
  .consultation {
    width: calc(100% - 34px);
  }

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

  .product-card img {
    height: 245px;
  }

  .consult-form {
    padding: 22px;
  }

  .home-panel,
  .home-panel img,
  .product-showcase img,
  .ai-list img {
    min-height: 320px;
  }

  .home-panel > div {
    left: 18px;
    right: 18px;
    bottom: 20px;
    padding: 18px;
  }

  .product-showcase article > div,
  .ai-list article > div,
  .method-grid article {
    padding: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
