:root {
  --white: #ffffff;
  --snow: #f5f5f7;
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --blue: #0066cc;
  --red: #9f1117;
  --gold: #b48a4a;
  --green: #0a6f63;
  --radius: 8px;
  --nav-height: 48px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
}

.global-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-height);
  background: rgba(250, 250, 252, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
}

.global-nav {
  width: min(1120px, calc(100% - 32px));
  height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-symbol {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--ink);
  font-size: 13px;
}

.global-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(29, 29, 31, 0.76);
}

.global-menu a {
  padding: 16px 0;
  transition: color 160ms ease;
}

.global-menu a:hover,
.global-menu a.is-active {
  color: var(--ink);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(29, 29, 31, 0.76);
}

.language-switcher span {
  white-space: nowrap;
}

.language-select {
  min-width: 124px;
  height: 30px;
  border: 1px solid rgba(29, 29, 31, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  padding: 0 28px 0 12px;
  font: inherit;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto 6px;
  background: var(--ink);
  transition: transform 160ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 44px;
  text-align: center;
}

.hero-home {
  padding-top: 86px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1,
.page-hero h1 {
  margin: 0 auto;
  max-width: 940px;
  font-size: 80px;
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-subtitle,
.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 24px;
  line-height: 1.45;
  font-weight: 500;
}

.hero-actions,
.cta-row {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  color: var(--white);
  background: var(--blue);
}

.button-light {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 102, 204, 0.28);
}

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

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 500;
}

.text-link::after,
.product-tile a::after,
.news-list a::after {
  content: " >";
}

.product-hero {
  position: relative;
  width: min(1060px, 100%);
  margin: 54px auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.product-hero img {
  width: 100%;
  height: 570px;
  object-fit: cover;
}

.product-hero figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(160%);
}

.product-hero figcaption span {
  color: var(--white);
  padding: 18px 12px;
  font-size: 14px;
  font-weight: 700;
}

.apple-band {
  margin: 12px auto;
  padding: 88px 24px;
  text-align: center;
}

.apple-band h2 {
  max-width: 820px;
  margin: 0 auto;
  font-size: 58px;
  line-height: 1.05;
  font-weight: 740;
  letter-spacing: 0;
}

.apple-band p:not(.eyebrow) {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.5;
}

.band-light {
  background: var(--white);
}

.band-dark {
  background: #000;
  color: var(--white);
}

.band-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

.band-dark .button {
  margin-top: 24px;
}

.product-grid {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product-tile {
  min-height: 560px;
  border-radius: var(--radius);
  padding: 52px;
  overflow: hidden;
}

.product-tile h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
  font-weight: 740;
  letter-spacing: 0;
}

.product-tile p:not(.eyebrow) {
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 21px;
  line-height: 1.45;
}

.product-tile a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue);
  font-size: 18px;
}

.tile-dark {
  color: var(--white);
  background: #000;
  text-align: center;
}

.tile-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.tile-light {
  background: var(--white);
  text-align: center;
}

.tile-image {
  grid-column: 1 / -1;
  position: relative;
  min-height: 640px;
  padding: 0;
  background: var(--ink);
}

.tile-image img {
  width: 100%;
  height: 640px;
  object-fit: cover;
}

.tile-image div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 56px 24px;
  text-align: center;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.08) 55%, rgba(0, 0, 0, 0.38));
}

.feature-split {
  width: min(1120px, calc(100% - 32px));
  margin: 86px auto;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 72px;
  align-items: center;
}

.feature-split-reverse .split-copy {
  order: 2;
}

.feature-split-reverse .split-media {
  order: 1;
}

.split-copy h2 {
  margin: 0;
  font-size: 56px;
  line-height: 1.05;
}

.split-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 22px;
  line-height: 1.55;
}

.split-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.split-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.storefront-row {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.storefront-row article {
  min-height: 170px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
}

.storefront-row strong {
  display: block;
  font-size: 48px;
  line-height: 1;
}

.storefront-row span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.35;
}

.page-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 56px;
  text-align: center;
}

.page-media {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto 12px;
  border-radius: var(--radius);
  overflow: hidden;
}

.page-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.rehab-media img {
  height: 620px;
}

.content-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

.section-title {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-title h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

.section-title p {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.5;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.case-grid,
.insight-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.solution-card,
.case-card,
.insight-card,
.value-card,
.contact-card {
  border-radius: var(--radius);
  background: var(--white);
  padding: 30px;
}

.solution-card h3,
.case-card h3,
.insight-card h3,
.value-card h3,
.contact-card h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.16;
}

.solution-card p,
.case-card p,
.insight-card p,
.value-card p,
.contact-card p,
.news-list p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.solution-card ul,
.deliverable-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.solution-card li,
.deliverable-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 16px;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.process article {
  padding: 32px 26px;
  background: var(--white);
}

.process span {
  color: var(--red);
  font-weight: 760;
}

.process h3 {
  margin: 22px 0 10px;
  font-size: 24px;
}

.process p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.case-hero-grid {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.case-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.case-photo img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.case-photo figcaption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: 14px;
}

.brand-artifacts {
  width: min(1280px, calc(100% - 24px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.artifact {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.artifact img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.artifact figcaption {
  padding: 18px;
  font-weight: 700;
}

.news-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}

.news-list article {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--white);
}

.news-list time {
  color: var(--red);
  font-weight: 760;
}

.news-list h3 {
  margin: 0;
  font-size: 22px;
}

.contact-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.two-column {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.notice-card {
  border-radius: var(--radius);
  background: var(--white);
  padding: 32px;
}

.notice-card h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.16;
}

.contact-card address {
  margin-top: 18px;
  font-style: normal;
  display: grid;
  gap: 12px;
  color: var(--ink-soft);
}

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

.global-footer {
  width: min(1024px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.global-footer div {
  display: flex;
  gap: 10px;
  color: var(--ink);
}

.global-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

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

@media (max-width: 980px) {
  .hero h1,
  .page-hero h1 {
    font-size: 58px;
  }

  .hero-subtitle,
  .page-hero p:not(.eyebrow) {
    font-size: 21px;
  }

  .product-grid,
  .feature-split,
  .case-hero-grid,
  .contact-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .feature-split-reverse .split-copy,
  .feature-split-reverse .split-media {
    order: initial;
  }

  .solution-grid,
  .case-grid,
  .insight-grid,
  .value-grid,
  .storefront-row,
  .brand-artifacts {
    grid-template-columns: 1fr;
  }

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

  .product-tile,
  .tile-image,
  .tile-image img {
    min-height: 480px;
    height: 480px;
  }
}

@media (max-width: 720px) {
  .global-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 32px 24px;
    background: rgba(250, 250, 252, 0.96);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .global-menu.is-open {
    transform: translateY(0);
  }

  .global-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .language-switcher {
    justify-content: space-between;
    padding: 15px 0 4px;
    font-size: 17px;
  }

  .language-select {
    min-width: 176px;
    height: 38px;
    font-size: 15px;
  }

  .menu-button {
    display: block;
  }

  .hero,
  .page-hero {
    padding-top: 54px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 42px;
  }

  .hero-subtitle,
  .page-hero p:not(.eyebrow),
  .apple-band p:not(.eyebrow),
  .split-copy p:not(.eyebrow),
  .section-title p {
    font-size: 18px;
  }

  .product-hero img,
  .page-media img,
  .case-photo img {
    height: 360px;
  }

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

  .apple-band {
    padding: 64px 22px;
  }

  .apple-band h2,
  .split-copy h2,
  .section-title h2 {
    font-size: 36px;
  }

  .product-tile {
    padding: 34px 24px;
  }

  .product-tile h2 {
    font-size: 34px;
  }

  .product-tile p:not(.eyebrow) {
    font-size: 18px;
  }

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

  .news-list article {
    grid-template-columns: 1fr;
  }
}
