:root {
  --bg: #faf8f5;
  --bg-2: #f5f0ea;
  --text: #2a2522;
  --text-light: #6b625a;
  --accent: #d4a574;
  --accent-2: #8fb3c2;
  --accent-3: #e89b8b;
  --accent-4: #a98bc2;
  --white: #ffffff;
  --shadow: rgba(42, 37, 34, 0.08);
  --shadow-hover: rgba(42, 37, 34, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --max-width: 1400px;
  --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif SC', Georgia, serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

picture {
  display: block;
  width: 100%;
  height: auto;
}

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

* {-webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(250, 248, 245, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(42, 37, 34, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 30px var(--shadow);
  background: rgba(250, 248, 245, 0.96);
}

.nav-brand {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--text);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #faf8f5 0%, #f5ede3 50%, #f7f2ec 100%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: floatShape 10s ease-in-out infinite;
}

.hero-shape.shape-1 {
  width: 520px;
  height: 520px;
  background: rgba(212, 165, 116, 0.35);
  top: -120px;
  right: -80px;
  animation-delay: 0s;
}

.hero-shape.shape-2 {
  width: 420px;
  height: 420px;
  background: rgba(143, 179, 194, 0.3);
  bottom: -100px;
  left: -100px;
  animation-delay: -3s;
}

.hero-shape.shape-3 {
  width: 320px;
  height: 320px;
  background: rgba(232, 155, 139, 0.25);
  top: 45%;
  right: 18%;
  animation-delay: -6s;
}

@keyframes floatShape {
  0%, 100% { transform: translate(calc(var(--dx, 0) * 30px), calc(var(--dy, 0) * 30px)) scale(1); }
  33% { transform: translate(calc(var(--dx, 0) * 30px + 65px), calc(var(--dy, 0) * 30px - 60px)) scale(1.09); }
  66% { transform: translate(calc(var(--dx, 0) * 30px - 50px), calc(var(--dy, 0) * 30px + 50px)) scale(0.96); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out, heroFloat 7s ease-in-out infinite;
  animation-delay: 0s, 1s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-label {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-name {
  display: block;
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #2a2522 0%, #5a4f47 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--text-light);
  margin-top: 0.75rem;
}

.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-light);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-tags span {
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(42, 37, 34, 0.08);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-light);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-tags span:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--shadow);
}

.hero-tags span[data-target] {
  cursor: pointer;
  user-select: none;
}

.hero-tags span[data-target]:active {
  transform: scale(0.96);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulseCTA 2.5s ease-in-out infinite;
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(42, 37, 34, 0.2);
}

.hero-cta:hover svg {
  transform: translateY(3px);
}

@keyframes pulseCTA {
  0%, 100% { box-shadow: 0 0 0 0 rgba(42, 37, 34, 0.15); }
  50% { box-shadow: 0 0 0 10px rgba(42, 37, 34, 0); }
}

.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
  z-index: 2;
  animation: scrollHintBounce 2.2s ease-in-out infinite;
}

.scroll-hint:hover {
  color: var(--text);
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 250, 245, 0.42) 0%,
    rgba(255, 245, 238, 0.14) 34%,
    transparent 62%
  );
  mix-blend-mode: soft-light;
  opacity: 0.65;
  transition: opacity 0.5s ease;
}

.hero-shape {
  --shape-scale: 1;
}

.scroll-mouse {
  width: 22px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-mouse span {
  width: 3px;
  height: 6px;
  background: currentColor;
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

@keyframes scrollHintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.section {
  padding: 7rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.15em;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Products */
.product {
  margin-bottom: 7rem;
  padding-bottom: 7rem;
  border-bottom: 1px solid rgba(42, 37, 34, 0.08);
}

.product:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.product-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(212, 165, 116, 0.14);
  color: #9c6f3e;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

#product-soda .product-tag {
  background: rgba(143, 179, 194, 0.16);
  color: #4a7a8a;
}

#product-skirt .product-tag {
  background: rgba(232, 155, 139, 0.14);
  color: #a85a4a;
}

.product-name {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.product-brief {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.design-thinking {
  background: var(--white);
  padding: 1.75rem 2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 30px var(--shadow);
  border-left: 4px solid var(--accent);
}

#product-soda .design-thinking {
  border-left-color: var(--accent-2);
}

#product-skirt .design-thinking {
  border-left-color: var(--accent-3);
}

.design-thinking h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.design-thinking p {
  color: var(--text-light);
  font-size: 0.96rem;
  line-height: 1.8;
}

.product-main-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
  background: var(--white);
  padding: 1.5rem;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* Galleries */
.product-gallery {
  margin-bottom: 3.5rem;
}

.product-gallery:last-child {
  margin-bottom: 0;
}

.gallery-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.gallery-grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-8 { grid-template-columns: repeat(8, 1fr); }

.gallery-grid img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 20px var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: zoom-in;
  background: var(--white);
}

.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-hover);
}

.detail-small img {
  border-radius: 10px;
}

.mobile-grid img {
  box-shadow: 0 8px 24px var(--shadow);
}

/* Feed video layout */
.feed-video-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
}

.feed-left,
.feed-middle,
.feed-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feed-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  position: relative;
}

.feed-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(42, 37, 34, 0.75);
  color: var(--white);
  padding: 0.25rem 0.7rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  z-index: 2;
}

.feed-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.feed-middle .feed-card img {
  max-height: 360px;
  object-fit: contain;
  background: var(--bg-2);
}

.video-caption {
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Video player */
.video-player {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 9 / 16;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 3;
}

.play-btn svg {
  width: 28px;
  height: 28px;
  color: var(--text);
  margin-left: 4px;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}

.video-player.playing .play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-player:hover .play-btn {
  opacity: 1;
}

.video-player.loading .play-btn {
  opacity: 0;
  pointer-events: none;
}

.video-player.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 4;
}

/* Video buffer progress bar */
.video-buffer-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-buffer-progress.show {
  opacity: 1;
}

.video-buffer-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #ff8a65);
  transition: width 0.3s ease;
}

.video-buffer-progress em {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-style: normal;
  font-size: 0.75rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 8px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* IP Section */
.section-ip {
  background: linear-gradient(180deg, var(--bg) 0%, #fff9f7 100%);
  border-radius: 40px;
  margin-top: 2rem;
}

.ip-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.ip-cover {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(232, 155, 139, 0.18);
}

.ip-cover img {
  width: 100%;
}

.ip-desc h3 {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.ip-desc p {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.ip-gallery {
  margin-bottom: 3.5rem;
}

.expression-grid img {
  border-radius: 12px;
}

.expression-grid .pose-extend {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: auto;
  padding: 4px;
}

/* Video Section */
.section-video {
  background: linear-gradient(180deg, #fff9f7 0%, var(--bg) 100%);
  border-radius: 40px;
  margin-top: 2rem;
}

.video-projects {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.video-project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  margin-bottom: 0;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px var(--shadow);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.video-project-main .video-player {
  aspect-ratio: 16 / 9;
}

.video-project-info h3 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.video-project-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
  max-width: 720px;
}

.video-assets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.asset-card {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.asset-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.asset-card img {
  width: 100%;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 4px 16px var(--shadow);
}

.asset-character {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.asset-character .asset-label {
  flex: 1 1 100%;
}

.asset-character img {
  flex: 1 1 calc(50% - 0.4rem);
  max-height: 320px;
  object-fit: contain;
}

.asset-storyboard img {
  max-height: 420px;
  object-fit: contain;
}

.asset-card.product-assets {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.asset-card.product-assets .asset-label {
  flex: 1 1 100%;
}

.asset-card.product-assets img {
  flex: 1 1 200px;
  max-height: 220px;
  object-fit: contain;
}

/* PC only: make video product-assets more compact */
@media (min-width: 769px) {
  #video-beauty .asset-card.product-assets,
  #video-3c .asset-card.product-assets {
    gap: 0.75rem;
    padding: 1rem;
    align-items: flex-start;
  }

  #video-beauty .asset-card.product-assets picture,
  #video-3c .asset-card.product-assets picture {
    width: auto;
    flex: 0 1 150px;
    max-width: 150px;
  }

  #video-beauty .asset-card.product-assets picture img,
  #video-3c .asset-card.product-assets picture img {
    width: 100%;
    max-height: 150px;
  }
}

/* Workflow Section */
.section-workflow {
  background: linear-gradient(180deg, var(--bg) 0%, #f7f5fa 100%);
  border-radius: 40px;
  margin-top: 2rem;
}

.workflow-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 12px 40px var(--shadow);
}

.workflow-visual {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.workflow-diagram {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
}

.workflow-diagram img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
}

.workflow-comparison {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.compare-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.75rem;
  background: var(--bg);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.compare-label {
  grid-column: 1 / -1;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.05em;
}

.compare-item img {
  border-radius: 8px;
  box-shadow: 0 4px 16px var(--shadow);
  background: var(--white);
  max-height: 170px;
  object-fit: contain;
  width: 100%;
}

.workflow-kontext .workflow-visual {
  grid-template-columns: 1.35fr 1fr;
}

.workflow-kontext .workflow-comparison {
  flex-direction: row;
  flex-wrap: wrap;
}

.workflow-kontext .compare-item {
  flex: 1 1 calc(33% - 0.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.workflow-kontext .compare-item img {
  max-height: 150px;
}

.workflow-info h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.workflow-info p {
  color: var(--text-light);
  line-height: 1.85;
}

/* Footer */
.footer {
  background: var(--text);
  color: var(--bg);
  padding: 5rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-thanks {
  text-align: center;
  margin-bottom: 3.5rem;
}

.footer-thanks h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-thanks p {
  color: rgba(250, 248, 245, 0.7);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto;
}

.footer-contact {
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.1);
}

.contact-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-text h3 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 1rem;
}

.contact-desc {
  color: rgba(250, 248, 245, 0.72);
  line-height: 1.85;
  margin-bottom: 2.25rem;
}

.contact-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  background: rgba(250, 248, 245, 0.08);
  border: 1px solid rgba(250, 248, 245, 0.12);
  border-radius: 100px;
  color: var(--bg);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.contact-item:hover {
  background: rgba(250, 248, 245, 0.16);
  border-color: rgba(250, 248, 245, 0.25);
  transform: translateY(-2px);
}

.contact-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-key {
  color: rgba(250, 248, 245, 0.65);
  font-size: 0.85rem;
}

.contact-value {
  font-weight: 500;
  letter-spacing: 0.02em;
}

.copy-hint {
  font-size: 0.75rem;
  color: var(--accent);
  margin-left: 0.25rem;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.contact-item.wechat:hover .copy-hint {
  opacity: 1;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.footer-tags span {
  padding: 0.35rem 0.9rem;
  background: rgba(250, 248, 245, 0.08);
  border-radius: 100px;
  font-size: 0.8rem;
  color: rgba(250, 248, 245, 0.65);
}

.footer-bottom {
  text-align: center;
  color: rgba(250, 248, 245, 0.5);
  font-size: 0.85rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 18, 16, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .grid-8 { grid-template-columns: repeat(6, 1fr); }
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 992px) {
  .product-hero,
  .ip-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-main-image {
    order: -1;
  }

  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-8 { grid-template-columns: repeat(4, 1fr); }

  .feed-video-layout,
  .workflow-visual,
  .footer-contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    box-shadow: 0 12px 30px var(--shadow);
    transform: translateY(-150%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6,
  .grid-8 {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-hero,
  .design-thinking,
  .video-project,
  .workflow-card {
    padding: 1.5rem;
  }

  .feed-video-layout {
    grid-template-columns: 1fr;
  }

  .video-assets {
    grid-template-columns: 1fr;
  }

  .asset-character,
  .asset-card.product-assets {
    flex-direction: column;
  }

  .asset-character img,
  .asset-card.product-assets img {
    flex: 0 0 auto;
    max-height: none;
  }

  .feed-middle .feed-card img {
    max-height: 260px;
  }

  .workflow-comparison,
  .workflow-kontext .workflow-comparison {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .compare-item,
  .workflow-kontext .compare-item {
    flex: 1 1 45%;
  }
}

@media (max-width: 480px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5,
  .grid-6,
  .grid-8 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .video-assets {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .asset-character,
  .asset-card.product-assets {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .asset-character img,
  .asset-card.product-assets img {
    flex: 1 1 calc(50% - 0.4rem);
    max-height: 160px;
  }

  .compare-item,
  .workflow-kontext .compare-item {
    flex: 1 1 45%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .product-name {
    font-size: 1.5rem;
  }
}

/* Mobile overflow & performance fixes */
.gallery-grid > *,
.feed-card,
.asset-card,
.compare-item,
.workflow-diagram,
.ip-cover,
.product-main-image,
.video-project,
.workflow-card {
  min-width: 0;
}

.asset-storyboard img,
.asset-card img,
.feed-card img,
.compare-item img,
.workflow-diagram img {
  width: 100%;
}

/* Content-visibility for below-fold sections to improve rendering performance */
.section {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.hero,
.footer {
  content-visibility: visible;
}

@media (max-width: 768px) {
  .section {
    content-visibility: visible;
  }

  /* Disable scroll reveal on mobile to avoid invisibility issues */
  .reveal,
  .reveal.active {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .product-main-image img,
  .workflow-diagram img,
  .asset-storyboard img,
  .feed-middle .feed-card img,
  .ip-cover img {
    max-height: 45vh;
  }

  .asset-character img,
  .asset-card.product-assets img {
    max-height: 35vh;
  }

  .compare-item img {
    max-height: 120px;
  }

  .workflow-kontext .compare-item img {
    max-height: 100px;
  }

  .video-project {
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .video-assets {
    gap: 1rem;
  }

  .asset-card {
    padding: 1rem;
  }

  .workflow-card {
    padding: 1.25rem;
  }

  .workflow-visual {
    gap: 1.25rem;
  }

  .product-hero,
  .ip-intro {
    gap: 1.75rem;
  }

  .product {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 3rem 1rem;
  }

  .gallery-grid {
    gap: 0.6rem;
  }

  .product-main-image {
    padding: 0.75rem;
  }

  .product-hero,
  .design-thinking,
  .video-project,
  .workflow-card {
    padding: 1rem;
  }

  .compare-item img {
    max-height: 100px;
  }

  .workflow-kontext .compare-item img {
    max-height: 90px;
  }
}
