:root {
  --ink: #070a0f;
  --navy: #171d2c;
  --navy-deep: #111624;
  --navy-soft: #242b3d;
  --paper: #f4f6f8;
  --white: #ffffff;
  --mist: #e8edf2;
  --muted: #66717f;
  --line: rgba(17, 22, 36, 0.12);
  --line-strong: rgba(17, 22, 36, 0.2);
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #8fa3bd;
  --accent-bright: #b9c8d8;
  --shadow: 0 24px 70px rgba(7, 10, 15, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Noto Sans TC", "Noto Sans JP", "PingFang TC", "Hiragino Sans", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(244, 246, 248, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
  transition: padding 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(244, 246, 248, 0.96);
  border-bottom-color: rgba(17, 22, 36, 0.18);
  box-shadow: 0 12px 34px rgba(7, 10, 15, 0.08);
}

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

.brand-logo {
  display: block;
  width: 132px;
  height: auto;
  transition: width 180ms ease;
}

.site-header.is-scrolled .brand-logo {
  width: 122px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 34px);
  color: #303846;
  font-size: 13px;
  font-weight: 800;
}

.nav-links a:hover,
.language-switcher a:hover {
  color: var(--navy);
}

.language-switcher {
  display: inline-flex;
  gap: 0;
  padding: 3px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  inline-size: max-content;
  flex: 0 0 auto;
}

.language-switcher a {
  display: inline-grid;
  min-width: 34px;
  min-height: 32px;
  place-items: center;
  color: #4b5665;
  font-size: 12px;
  font-weight: 800;
}

.language-switcher .active {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.section-dark {
  background: #0b101a;
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: 740px;
  padding: clamp(78px, 9vw, 128px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("../images/zoko-brand-card-bg.jpg") center / cover no-repeat;
  opacity: 0.26;
}

.hero::after {
  position: absolute;
  top: 18%;
  right: -9vw;
  width: 42vw;
  min-width: 360px;
  aspect-ratio: 1;
  content: "";
  border: 1px solid rgba(185, 200, 216, 0.16);
  transform: rotate(45deg);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #667a92;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-dark .eyebrow,
.hero .eyebrow,
.contact .eyebrow {
  color: var(--accent-bright);
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(42px, 6.7vw, 78px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-text {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(17px, 2vw, 21px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

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

.button.ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.03);
}

.market-panel {
  position: relative;
  z-index: 1;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 17, 28, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.market-panel::before {
  position: absolute;
  inset: 28px;
  content: "";
  border: 1px solid rgba(185, 200, 216, 0.2);
}

.panel-logo-accent {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 430px;
  max-width: 92%;
  opacity: 0.055;
}

.map-line {
  position: absolute;
  top: 45%;
  left: 22%;
  width: 56%;
  height: 2px;
  background: var(--accent-bright);
  transform: rotate(-16deg);
}

.market-node,
.signal-card {
  position: absolute;
  padding: 18px;
  background: rgba(7, 10, 15, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.market-node {
  width: 150px;
}

.market-node span,
.signal-card span,
.case-card > span {
  display: block;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.market-node strong,
.signal-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.market-node.taiwan {
  left: 13%;
  bottom: 25%;
}

.market-node.japan {
  right: 12%;
  top: 18%;
}

.signal-card {
  right: 10%;
  bottom: 12%;
  width: min(280px, 74%);
}

.proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.proof-bar div {
  min-height: 132px;
  padding: 28px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--line);
  background: var(--white);
  transition: border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.proof-bar strong,
.proof-bar span {
  display: block;
}

.proof-bar strong {
  color: var(--ink);
  font-size: clamp(18px, 1.75vw, 23px);
  line-height: 1.12;
  transition: color 220ms ease;
}

.proof-bar strong.proof-highlight {
  color: var(--navy-soft);
}

.proof-bar span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  position: relative;
  padding: clamp(72px, 8.4vw, 116px) clamp(20px, 5vw, 72px);
}

.band {
  background: var(--mist);
}

.section-heading {
  max-width: 900px;
  margin-bottom: 42px;
}

.section-lead {
  max-width: 760px;
  color: #44505f;
  font-size: 18px;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1050px;
  color: #44505f;
  font-size: 18px;
}

.visual-strategy-section {
  background: #f8fafc;
}

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

.visual-slot {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  background: var(--navy-deep);
  border: 1px solid rgba(17, 22, 36, 0.2);
  color: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.visual-slot.has-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.visual-slot-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-slot.has-image::after {
  background: rgba(7, 10, 15, 0.58);
}

.visual-slot::before {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  content: "";
  border: 1px solid rgba(185, 200, 216, 0.34);
  transform: rotate(45deg);
}

.visual-slot::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.visual-slot > * {
  position: relative;
  z-index: 1;
}

.slot-kicker {
  margin-bottom: 10px;
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.visual-slot strong {
  font-size: 20px;
  line-height: 1.18;
}

.visual-slot p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.map-slot {
  background: #111827;
}

.funnel-slot {
  background: #1a2232;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.case-card,
.why-grid div,
.operation-stack div {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(17, 22, 36, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.service-card {
  position: relative;
  min-height: 0;
  padding: 30px;
  overflow: hidden;
}

.service-card::after,
.case-card::after {
  position: absolute;
  right: -44px;
  bottom: -44px;
  width: 116px;
  aspect-ratio: 1;
  content: "";
  border: 18px solid rgba(143, 163, 189, 0.12);
  transform: rotate(45deg);
}

.card-number {
  display: inline-block;
  margin-bottom: 14px;
  color: #7b8da3;
  font-weight: 900;
}

.service-editorial-image {
  display: block;
  width: 100%;
  margin: 0 0 22px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--line);
}

.service-card p,
.case-card p,
.why-grid p {
  color: #5d6675;
}

.service-card ul {
  margin: 24px 0 0;
  padding-left: 18px;
  color: #303846;
}

.case-studies {
  display: grid;
  gap: 28px;
}

.featured-case {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  overflow: hidden;
  background: #f1f4f7;
  box-shadow: var(--shadow);
}

.featured-case-media {
  grid-column: span 7;
  align-self: start;
  padding: 10px;
  background: #f1f4f7;
  border: 1px solid var(--line);
}

.featured-case-media img {
  display: block;
  width: 100%;
  height: auto;
  object-position: top center;
  cursor: zoom-in;
}

.featured-case-media img:focus,
.case-visual-slot.has-screenshot img:focus,
.case-visual-gallery img:focus {
  outline: 3px solid var(--accent-bright);
  outline-offset: -3px;
}

.featured-case-content {
  grid-column: span 5;
  align-self: center;
  padding: clamp(32px, 4vw, 64px);
  background: #0d1420;
  color: var(--white);
}

.featured-case-content > span,
.case-kicker {
  display: block;
  color: var(--accent-bright);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-kicker {
  margin: 12px 0 24px;
  color: rgba(255, 255, 255, 0.56);
}

.featured-case h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 2.6vw, 42px);
  line-height: 1.08;
}

.featured-case-content > p:not(.case-kicker):not(.case-supporting-line) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}

.featured-case .case-supporting-line {
  color: var(--accent-bright) !important;
}

.supporting-case-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.case-card {
  position: relative;
  min-height: 0;
  padding: 26px;
  overflow: hidden;
  align-self: start;
}

.c41-case,
.homepure-case {
  grid-column: span 3;
}

.c20-case {
  grid-column: span 6;
}

.case-visual-slot {
  position: relative;
  display: flex;
  min-height: 108px;
  flex-direction: column;
  justify-content: flex-end;
  margin: -26px -26px 20px;
  padding: 16px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--white);
}

.case-visual-slot::after {
  position: absolute;
  top: -28px;
  right: 14px;
  width: 92px;
  height: 92px;
  content: "";
  border: 12px solid rgba(185, 200, 216, 0.14);
  transform: rotate(45deg);
}

.case-visual-slot span,
.case-visual-slot small {
  position: relative;
  z-index: 1;
}

.case-visual-slot span {
  color: var(--accent-bright);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-visual-slot small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.case-visual-slot.has-screenshot {
  min-height: 0;
  padding: 8px;
  aspect-ratio: auto;
  background: #f1f4f7;
  border-bottom: 1px solid var(--line);
}

.case-visual-slot.has-screenshot::after {
  display: none;
}

.case-visual-slot.has-screenshot img,
.case-visual-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
  object-position: top center;
  cursor: zoom-in;
}

.case-visual-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: -26px -26px 20px;
  padding: 8px;
  overflow: visible;
  aspect-ratio: auto;
  background: #f1f4f7;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.case-visual-gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
}

.case-visual-gallery figcaption {
  position: static;
  padding: 8px 2px 0;
  background: transparent;
  color: #475467;
  font-size: 11px;
  font-weight: 850;
}

.case-card-wide {
  grid-column: span 2;
}

.case-supporting-line {
  margin-top: 16px;
  margin-bottom: 0;
  color: #344054 !important;
  font-size: 13px;
  font-weight: 850;
}

.case-card h3 {
  margin-top: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.operation-stack {
  display: grid;
  gap: 12px;
}

.operation-stack div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 20px 22px;
}

.operation-stack strong {
  color: var(--ink);
}

.operation-stack span {
  color: #5d6675;
}

.exhibition-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.exhibition-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(17, 22, 36, 0.06);
}

.exhibition-grid img {
  display: block;
  width: 100%;
  height: clamp(280px, 30vw, 460px);
  object-fit: cover;
  filter: saturate(0.86) contrast(0.96);
}

.exhibition-grid figcaption {
  padding: 14px 16px;
  color: #5d6675;
  font-size: 13px;
}

.commerce-proof-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 6px;
}

.commerce-proof-grid figure {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 36px rgba(17, 22, 36, 0.08);
}

.commerce-proof-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  object-position: top center;
  background: #edf1f5;
}

.commerce-proof-grid figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 14px 16px;
  color: #5d6675;
  font-size: 13px;
}

.commerce-proof-grid figcaption strong {
  color: var(--ink);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.portfolio-card {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 12px 36px rgba(17, 22, 36, 0.05);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.logo-slot {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 12px;
  border: 1px dashed rgba(17, 22, 36, 0.24);
  color: var(--ink);
  font-size: clamp(16px, 1.5vw, 21px);
  font-weight: 900;
  text-align: center;
}

.logo-slot.has-logo {
  padding: 14px;
  background: #fff;
}

.logo-slot.has-logo img {
  display: block;
  width: 100%;
  height: 46px;
  object-fit: contain;
  object-position: center;
}

.portfolio-card > span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.service-card:hover,
.case-card:hover,
.why-grid div:hover,
.operation-stack div:hover,
.portfolio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 163, 189, 0.42);
  background: var(--white);
  box-shadow: 0 20px 54px rgba(17, 22, 36, 0.12);
}

.visual-slot:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 200, 216, 0.48);
  box-shadow: 0 20px 54px rgba(17, 22, 36, 0.18);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 10, 15, 0.9);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.back-to-top:hover {
  border-color: rgba(185, 200, 216, 0.48);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.proof-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 10, 15, 0.9);
}

.proof-lightbox.is-open {
  display: flex;
}

.proof-lightbox-dialog {
  position: relative;
  width: min(1200px, 100%);
  max-height: 100%;
  padding: 10px;
  overflow: auto;
  background: #f1f4f7;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.proof-lightbox img {
  display: block;
  width: 100%;
  height: auto;
}

.proof-lightbox-close {
  position: sticky;
  top: 0;
  left: 100%;
  z-index: 1;
  display: grid;
  width: 36px;
  height: 36px;
  margin: 0 0 -36px auto;
  place-items: center;
  border: 0;
  background: #0d1420;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

body.proof-lightbox-open {
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.why-grid div {
  padding: 30px;
}

.contact {
  position: relative;
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 72px);
  text-align: center;
  background: #0b101a url("../images/zoko-brand-card-bg.jpg") center / cover no-repeat;
}

.contact::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgba(6, 8, 13, 0.78);
}

.contact > * {
  position: relative;
  z-index: 1;
}

.contact h2,
.contact p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
}

.contact p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.contact .button {
  margin-top: 20px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #05070b;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-logo {
  display: block;
  width: 116px;
  height: auto;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
}

.redirect-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  background: var(--ink);
}

.redirect-card {
  width: min(560px, 100%);
  padding: 42px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.redirect-logo {
  display: block;
  width: 156px;
  height: auto;
  margin-bottom: 28px;
}

.redirect-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.redirect-links a {
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    grid-column: 1;
    min-width: 116px;
  }

  .brand-logo {
    width: 116px;
  }

  .nav-toggle {
    grid-column: 2;
    display: block;
    justify-self: end;
  }

  .language-switcher {
    grid-column: 3;
    justify-self: end;
    width: auto;
    max-width: 100%;
    inline-size: max-content;
  }

  .nav-links {
    position: absolute;
    top: 71px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

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

  .hero,
  .identity-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .market-panel {
    min-height: 360px;
  }

  .proof-bar,
  .card-grid.three,
  .why-grid,
  .portfolio-grid,
  .visual-strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-case-media {
    grid-column: span 12;
    min-height: 0;
  }

  .featured-case-content {
    grid-column: span 12;
  }

  .c41-case,
  .homepure-case {
    grid-column: span 6;
  }

  .c20-case {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 6px;
    padding: 10px;
  }

  .site-header.is-scrolled {
    padding: 8px;
  }

  .brand {
    min-width: 88px;
  }

  .brand-logo {
    width: 88px;
  }

  .nav-toggle {
    width: 34px;
    height: 34px;
  }

  .nav-toggle span {
    width: 16px;
    margin: 3px auto;
  }

  .language-switcher {
    padding: 2px;
    overflow: hidden;
  }

  .language-switcher a {
    min-width: 0;
    width: 24px;
    min-height: 28px;
    padding: 0;
    font-size: 11px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero,
  .section,
  .contact {
    padding-right: 18px;
    padding-left: 18px;
  }

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

  .proof-bar,
  .card-grid.three,
  .why-grid,
  .exhibition-grid,
  .portfolio-grid,
  .visual-strategy-grid,
  .commerce-proof-grid {
    grid-template-columns: 1fr;
  }

  .featured-case {
    grid-template-columns: 1fr;
  }

  .featured-case-media,
  .featured-case-content {
    grid-column: auto;
  }

  .featured-case-media {
    padding: 8px;
  }

  .featured-case-content {
    padding: 28px 22px 34px;
  }

  .supporting-case-grid {
    grid-template-columns: 1fr;
  }

  .c41-case,
  .c20-case,
  .homepure-case {
    grid-column: auto;
  }

  .case-visual-gallery {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
    grid-auto-rows: auto;
  }

  .proof-bar div {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .site-footer div {
    justify-content: flex-start;
  }

  .operation-stack div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .market-panel {
    min-height: 330px;
  }

  .market-node {
    width: 132px;
  }

  .market-node.taiwan {
    left: 8%;
  }

  .market-node.japan {
    right: 8%;
  }
}

@media (max-width: 360px) {
  .site-header {
    gap: 4px;
    padding: 8px;
  }

  .brand {
    min-width: 78px;
  }

  .brand-logo {
    width: 78px;
  }

  .nav-toggle {
    width: 32px;
    height: 32px;
  }

  .language-switcher a {
    min-width: 0;
    width: 22px;
    min-height: 26px;
    padding: 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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