/* =========================================================
   QINGYANG XIE — Portfolio Design System
   Editorial · Creative · Minimal · AI Native
   ========================================================= */

:root {
  --bg: #F6F4EF;
  --bg-deep: #EFEBE2;
  --card: #FCFBF8;
  --ink: #171712;
  --ink-soft: #2E2E28;
  --gray: #7A786F;
  --gray-light: #A8A59B;
  --line: #DDD9CD;
  --line-strong: #C9C5B7;
  --yellow: #F2E79E;
  --pink: #F06E8B;
  --white: #FFFFFF;

  --font-sans: "CN", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --font-serif: "CN", "Iowan Old Style", "Palatino Linotype", Georgia, "Songti SC", "SimSun", serif;
  --font-mono: "CN", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --container: 1280px;
  --pad: clamp(20px, 4vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .55s;
}

/* 中文字体：本地变量字体，全站统一（英文不受影响） */
@font-face {
  font-family: "CN";
  src: url("../assets/fonts/NotoSansSC-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+3000-303F, U+3400-4DBF, U+4E00-9FFF, U+F900-FAFF, U+FF00-FFEF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id], .contact-hero[id] { scroll-margin-top: 84px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  z-index: 0;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

#app { position: relative; z-index: 1; }

::selection { background: var(--yellow); color: var(--ink); }

/* ---------- Utility ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.serif { font-style: normal; }
.mono { font-family: var(--font-mono); }
.uppercase { text-transform: uppercase; }
.muted { color: var(--gray); }
.rule { border: none; border-top: 1px solid var(--line); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--ink); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: rgba(246, 244, 239, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-brand {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 600;
  color: var(--gray);
  position: relative;
  padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--ink);
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 34px; height: 34px;
  position: relative;
  z-index: 102;
}
.nav-burger span {
  position: absolute;
  left: 6px; right: 6px;
  height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease), opacity .3s;
}
.nav-burger span:nth-child(1) { top: 11px; }
.nav-burger span:nth-child(2) { top: 17px; }
.nav-burger span:nth-child(3) { top: 23px; }
.nav-burger.open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--pad);
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.mobile-menu a small { font-size: 12px; color: var(--gray); letter-spacing: .2em; }

/* ---------- Page transition ---------- */
.page {
  animation: pageIn .5s var(--ease);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Buttons / links ---------- */
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn-link:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }
.btn-link:active { transform: translateY(0) scale(.98); }
.btn-link.solid { background: var(--ink); color: var(--bg); }
.btn-link.solid:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn-link.pink { border-color: #E16E8B; color: #B23A58; }
.btn-link.pink:hover { background: #C24B67; color: #fff; border-color: #C24B67; }

/* ---------- AI Label ---------- */
.ai-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ai-label::before { content: "●"; font-size: 7px; }
.ai-label:hover { transform: translateY(-2px) scale(1.04); }
.ai-label.ai-gen { background: rgba(242, 231, 158, .30); border-color: #D8CB7E; color: #5F5820; }
.ai-label.ai-assist { background: rgba(240, 110, 139, .12); border-color: #EE8098; color: #A6304E; }
.ai-label.ai-built { background: rgba(23, 23, 18, .06); border-color: var(--ink); color: var(--ink); }
.ai-label.human { background: transparent; border-color: var(--line-strong); color: var(--gray); }
.ai-label.tbc { background: transparent; border-color: var(--pink); color: var(--pink); border-style: dashed; }

/* ---------- Section ---------- */
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt-bg { background: var(--bg-deep); }
.detail-sub { padding-top: clamp(56px, 8vw, 110px); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.works-head .section-head { margin-bottom: clamp(20px, 3vw, 36px); }

.section-title {
  font-size: clamp(42px, 8vw, 104px);
  line-height: .92;
  letter-spacing: -.02em;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 14px;
}
.section-title .accent { color: var(--pink); }
.section-sub { font-size: 14px; color: var(--gray); letter-spacing: .06em; margin-top: 16px; max-width: 620px; }

/* zh main title + en helper title hierarchy */
.title-en {
  font-size: clamp(13px, 1.9vw, 21px);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 600;
  margin-top: 16px;
}
.hero-title-en { margin-top: 18px; font-size: clamp(14px, 2.2vw, 24px); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* =========================================================
   HOME
   ========================================================= */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: 130px var(--pad) 60px;
  max-width: 1500px;
  margin: 0 auto;
}
.hero-left { display: flex; flex-direction: column; gap: 34px; }
.hero-title {
  font-size: clamp(52px, 9.2vw, 128px);
  line-height: .9;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line span { display: inline-block; }
.hero-title .line:nth-child(2) span { animation-delay: .12s; }
.hero-title .line:nth-child(3) span { animation-delay: .24s; }
.hero-role {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-role span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink-soft);
  transition: border-color .3s, background .3s, color .3s;
}
.hero-role span:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.hero-intro { max-width: 520px; color: var(--gray); font-size: 15px; display: grid; gap: 12px; }
.hero-meta { display: flex; gap: 26px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gray-light); }

.hero-right { position: relative; }

/* ---- editorial collage hero ---- */
.hero-collage {
  position: relative;
  margin-left: auto;
  max-width: 560px;
  min-height: 640px;
}
.hero-collage .collage-shape-a {
  position: absolute;
  top: 46px; left: -34px;
  width: 210px; height: 210px;
  background: var(--yellow);
  z-index: 0;
  clip-path: polygon(18% 0, 100% 12%, 88% 88%, 0 100%);
}
.hero-collage .collage-panel {
  position: absolute;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--ink);
  box-shadow: 0 22px 48px -32px rgba(23,23,18,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.hero-collage .collage-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-collage .collage-main {
  top: 0; right: 0;
  width: 70%;
  aspect-ratio: 3 / 4;
  clip-path: polygon(0 0, 100% 5%, 95% 100%, 5% 96%);
  z-index: 2;
  transform: rotate(1.1deg);
}
.hero-collage .collage-main img { transition: transform 1.2s var(--ease); }
.hero-collage:hover .collage-main { transform: rotate(0deg); }
.hero-collage:hover .collage-main img { transform: scale(1.04); }
.hero-collage .collage-tag {
  position: absolute;
  z-index: 3;
  bottom: 26px; left: 22px;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  padding: 8px 14px;
  border-radius: 100px;
  transform: rotate(-2deg);
}
@media (max-width: 900px) {
  .hero-collage { min-height: 540px; max-width: 460px; }
  .hero-collage .collage-main { width: 78%; }
}

/* Education + Experience split */
.edu-exp {
  display: grid;
  grid-template-columns: .9fr 1.6fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.edu-item { padding: 18px 0; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.edu-item small { font-size: 10px; letter-spacing: .2em; color: var(--gray-light); text-transform: uppercase; }
.edu-item strong { font-size: 20px; font-weight: 800; }
.edu-item em { font-style: italic; font-family: var(--font-serif); color: var(--gray); font-size: 15px; }

.exp-list { border-top: 1px solid var(--line); }
.exp-item { border-bottom: 1px solid var(--line); }
.exp-head {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  transition: background .25s;
}
.exp-head:hover { background: var(--bg-deep); }
.exp-company { font-size: clamp(18px, 2.6vw, 26px); font-weight: 800; letter-spacing: .01em; }
.exp-role { font-size: 12px; color: var(--gray); letter-spacing: .06em; margin-top: 3px; }
.exp-indicator {
  flex: none;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--gray-light);
  transition: transform .35s var(--ease), color .35s;
}
.exp-item.open .exp-indicator { transform: rotate(45deg); color: var(--pink); }
.exp-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease);
}
.exp-item.open .exp-body { grid-template-rows: 1fr; }
.exp-body-inner { overflow: hidden; }
.exp-details { padding: 0 4px 26px; display: grid; gap: 22px; max-width: 780px; }
.exp-block h4 {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.exp-block h4::before { content: ""; width: 18px; height: 2px; background: var(--pink); }
.exp-block p { color: var(--gray); font-size: 14.5px; }

/* =========================================================
   AI LAB
   ========================================================= */
.ai-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ai-module {
  border: 1px solid var(--line-strong);
  background: var(--card);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ai-module:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -30px rgba(23,23,18,.35); }
.ai-module-top { padding: 26px 24px 18px; display: grid; gap: 8px; }
.ai-module-title { font-size: 30px; font-weight: 800; letter-spacing: .02em; }
.ai-module-sub { font-size: 13px; color: var(--gray); }
.ai-module-media {
  flex: 1;
  position: relative;
  overflow: hidden;
  margin: 0 18px;
  min-height: 240px;
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-module-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ai-module:hover .ai-module-media img { transform: scale(1.05); }
.ai-module-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
}
.ai-module-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px 24px;
}
.ai-module-cta .go {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.ai-module:hover .go { color: var(--pink); border-color: var(--pink); }
.ai-module-num { font-family: var(--font-mono); font-size: 12px; color: var(--gray-light); }

/* AI image gallery — pure visual grid */
.ai-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ai-gallery-item { margin: 0; overflow: hidden; background: var(--bg-deep); }
.ai-gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 7 / 10;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease);
}
.ai-gallery-item:hover img { transform: scale(1.035); }
.ai-gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 2px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray);
}
.ai-gallery-item figcaption i { font-style: normal; color: var(--pink); font-weight: 700; }

.ai-module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 16px 24px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  color: var(--gray);
}
.ai-module-meta b { font-weight: 700; color: var(--ink); margin-right: 5px; }

/* Video cards */
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-card { border: 1px solid var(--line-strong); background: var(--card); }
.video-player {
  position: relative;
  aspect-ratio: 9 / 16;
  max-height: 480px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--ink);
}
.video-player img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .8s var(--ease), opacity .5s; }
.video-card:hover .video-player img { transform: scale(1.04); opacity: .65; }
.video-player .play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--bg);
}
.video-player .play-btn::before {
  content: "";
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s;
  background: rgba(23,23,18,.35);
}
.video-player .play-btn::after {
  content: "▶";
  position: absolute;
  font-size: 18px;
  margin-left: 4px;
  transition: transform .3s;
}
.video-card:hover .play-btn::before { background: var(--pink); transform: scale(1.08); }
.video-player .soon {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.75);
}
.video-card-body { padding: 18px 20px 20px; display: grid; gap: 12px; }
.video-card-body .t { font-size: 16px; font-weight: 800; letter-spacing: .02em; }
.video-card-body .meta { display: flex; gap: 8px; flex-wrap: wrap; }
.video-card-links { display: flex; gap: 18px; align-items: center; }
.video-card-links a { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.video-card-links a:hover { color: var(--pink); border-color: var(--pink); }

.copy-cases { display: grid; gap: 26px; margin-top: 40px; }
.copy-case { border: 1px solid var(--line-strong); background: var(--card); padding: clamp(20px, 4vw, 34px); }
.copy-case-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.copy-case-head h3 { font-size: 20px; font-weight: 800; }
.copy-case-head .brand { font-size: 12px; color: var(--gray); letter-spacing: .12em; }
.copy-imgs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.copy-imgs figure { position: relative; overflow: hidden; }
.copy-imgs img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s var(--ease); }
.copy-imgs figure:hover img { transform: scale(1.05); }
.copy-imgs figcaption { position: absolute; inset: auto 0 0 0; background: linear-gradient(transparent, rgba(23,23,18,.7)); color: #fff; font-size: 10px; letter-spacing: .1em; padding: 26px 10px 8px; opacity: 0; transition: opacity .3s; }
.copy-imgs figure:hover figcaption { opacity: 1; }

/* =========================================================
   AI WORKSPACE
   ========================================================= */
.ws-product {
  border: 1px solid var(--line-strong);
  background: var(--card);
  box-shadow: 0 30px 80px -50px rgba(23,23,18,.4);
  overflow: visible;
  position: relative;
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.dash-dots i:nth-child(1) { background: var(--pink); }
.dash-dots i:nth-child(2) { background: var(--yellow); }
.dash-dots i:nth-child(3) { background: #9CD6A5; }
.dash-url { font-family: var(--font-mono); font-size: 10px; color: var(--gray-light); letter-spacing: .08em; }
.ws-live {
  font-size: 10px;
  letter-spacing: .14em;
  color: #3F7A48;
  border: 1px solid #9CD6A5;
  background: rgba(156, 214, 165, .14);
  padding: 5px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.ws-product-body {
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}
.ws-shot-img { width: 100%; height: auto; display: block; object-fit: contain; }
.ws-mockup {
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  grid-template-columns: 190px 1fr;
  min-height: 380px;
  overflow: hidden;
}
.ws-mockup-side {
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--card);
}
.ws-mockup-logo {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 0 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ws-mockup-logo i { width: 12px; height: 12px; background: var(--ink); display: inline-block; }
.ws-mockup-item { font-size: 11.5px; padding: 8px 9px; border-radius: 3px; color: var(--gray); }
.ws-mockup-item.active { background: var(--ink); color: var(--bg); font-weight: 600; }
.ws-mockup-main { padding: clamp(18px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.ws-mockup-head { font-size: 15px; font-weight: 800; letter-spacing: .03em; }
.ws-mockup-grid { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.ws-mockup-grid span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 7px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--gray);
}

.ws-pipeline { display: flex; flex-wrap: wrap; gap: 0; margin-top: 26px; }
.ws-pipeline .step {
  flex: 1;
  min-width: 110px;
  text-align: center;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 800;
  padding: 14px 6px;
  border-top: 2px solid var(--ink);
  position: relative;
  color: var(--ink-soft);
}
.ws-pipeline .step::after { content: "↓"; position: absolute; bottom: -17px; left: 50%; transform: translateX(-50%); color: var(--pink); font-size: 11px; }
.ws-pipeline .step:last-child::after { display: none; }

.ws-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ws-feature {
  border: 1px solid var(--line-strong);
  padding: 24px;
  background: var(--card);
  display: grid;
  gap: 8px;
  align-content: start;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.ws-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(23,23,18,.4); }
.ws-feature .no { font-family: var(--font-mono); font-size: 11px; color: var(--pink); }
.ws-feature h3 { font-size: 16px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ws-feature .zh { font-size: 12px; color: var(--gray); font-weight: 600; }
.ws-feature p { font-size: 13.5px; color: var(--gray); }

/* =========================================================
   MARKETING WORKS
   ========================================================= */
.cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 62px;
  background: var(--bg);
  z-index: 20;
}
.cat-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  color: var(--gray);
  transition: all .3s;
}
.cat-nav a:hover, .cat-nav a.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
  border: 1px solid var(--line-strong);
  background: var(--card);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.case-card:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -30px rgba(23,23,18,.35); }
.case-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-deep); }
.case-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-card:hover .case-card-media img { transform: scale(1.05); }
.case-card-body { padding: 20px 22px 24px; display: grid; gap: 10px; }
.case-brand { font-size: 11px; letter-spacing: .2em; color: var(--gray-light); font-weight: 700; }
.case-title { font-size: 19px; font-weight: 800; letter-spacing: .01em; }
.case-desc { font-size: 13.5px; color: var(--gray); }
.case-stats { display: flex; gap: clamp(20px, 3vw, 40px); padding-top: 10px; }
.case-stats .s { display: grid; }
.case-stats .v { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.case-stats .l { font-size: clamp(13px, 1.8vw, 16px); letter-spacing: .04em; color: var(--gray); font-weight: 500; margin-top: 8px; line-height: 1.4; }
.case-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.case-tags span { font-size: 10px; letter-spacing: .1em; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--gray); }

.case-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; padding: 22px; }
.case-gallery img { width: 100%; height: auto; object-fit: contain; display: block; transition: transform .5s var(--ease); }
.case-gallery img:hover { transform: scale(1.04); }
.campaign-gallery {
  grid-template-columns: repeat(auto-fit, minmax(190px, 270px));
  justify-content: center;
  justify-items: center;
}
.campaign-gallery img { margin: 0 auto; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }

.flow-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flow-strip span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  position: relative;
}
.flow-strip span::after { content: "→"; position: absolute; right: -11px; color: var(--pink); }
.flow-strip span:last-child::after { display: none; }

.campaign-case { border: 1px solid var(--line-strong); background: var(--card); padding: clamp(22px, 4vw, 44px); }
.campaign-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 26px; }
.campaign-step { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.campaign-step .s { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--pink); text-transform: uppercase; }
.campaign-step .d { font-size: 13.5px; color: var(--gray); }

.work-modules { display: grid; grid-template-columns: 1fr; gap: clamp(64px, 9vw, 120px); }
.work-module { border: 1px solid var(--line-strong); background: var(--card); display: flex; flex-direction: column; }
.work-module-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.work-module-head .no { font-family: var(--font-mono); font-size: 11px; color: var(--pink); }
.work-module-head h3 { font-size: 17px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.work-module-head .zh { font-size: 12px; color: var(--gray); }
.work-module .imgs { display: grid; gap: 16px; padding: 20px; align-items: start; }
.work-module .imgs img { width: 100%; height: auto; object-fit: cover; display: block; transition: transform .5s var(--ease); }
.work-module .imgs img:hover { transform: scale(1.02); }
.work-module.grid-3 .imgs { grid-template-columns: repeat(3, 1fr); }
.work-module.grid-4 .imgs { grid-template-columns: repeat(2, 1fr); }
.work-module.ratio-1 .imgs img { aspect-ratio: 1 / 1; }
.work-module.ratio-2-3 .imgs img { aspect-ratio: 2 / 3; }
.work-module.ratio-3-5 .imgs img { aspect-ratio: 3 / 5; }
.work-module.ratio-2 .imgs img { aspect-ratio: 2 / 1; }
.work-module-caption {
  padding: 13px 20px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gray);
  border-top: 1px solid var(--line);
  margin: 0 14px;
}

/* creator marketing — real douyin case cards */
.creator-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.creator-case {
  border: 1px solid var(--line-strong);
  background: var(--card);
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.creator-case:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -30px rgba(23,23,18,.4); }
.creator-case-cover {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.creator-case-no { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 13px; letter-spacing: .16em; }
.creator-case-probe { display: none; }
.creator-case-probe.shown {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.creator-case-play {
  position: relative;
  z-index: 2;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-left: 3px;
  transition: background .3s, border-color .3s;
}
.creator-case:hover .creator-case-play { background: var(--pink); border-color: var(--pink); }
.creator-case-body { padding: 14px 16px 16px; display: grid; gap: 3px; }
.creator-case-title { font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.creator-case-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--gray); }

.ai-assist-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  border: 1px solid var(--pink);
  background: rgba(240,110,139,.05);
  padding: 18px 22px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.ai-assist-banner p { font-size: 14px; color: var(--ink-soft); }
.ai-assist-banner a { font-size: 12px; font-weight: 800; letter-spacing: .12em; border-bottom: 2px solid var(--pink); padding-bottom: 2px; transition: color .3s; }
.ai-assist-banner a:hover { color: var(--pink); }

/* =========================================================
   VISUAL GALLERY
   ========================================================= */
.gallery-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filter button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--gray);
  transition: all .3s;
}
.gallery-filter button:hover, .gallery-filter button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.filter-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--gray);
  transition: all .3s;
}
.filter-btn:hover, .filter-btn.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* creator marketing layout */
.creator-grid {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 900px) {
  .creator-grid { grid-template-columns: 1fr; }
}

.masonry { columns: 3; column-gap: 14px; }
.masonry .tile { break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; cursor: pointer; }
.masonry .tile img { width: 100%; transition: transform .7s var(--ease); }
.masonry .tile:hover img { transform: scale(1.05); }
.tile-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(180deg, rgba(23,23,18,0) 35%, rgba(23,23,18,.78));
  opacity: 0;
  transition: opacity .4s;
}
.tile:hover .tile-info { opacity: 1; }
.tile-info .t { color: #fff; font-size: 15px; font-weight: 700; }
.tile-info .ty { color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.tile-info .ai { align-self: flex-start; }
.tile-info .ai .ai-label { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.7); color: #fff; }
.tile-info .ai .ai-label.ai-gen { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.tile-info .ai .ai-label.ai-assist { background: var(--pink); color: #fff; border-color: var(--pink); }
.tile-info .ai .ai-label.ai-built { background: #fff; color: var(--ink); border-color: #fff; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; justify-content: center; padding: 140px var(--pad) 60px; max-width: 1400px; margin: 0 auto; }
.contact-title { font-size: clamp(44px, 8vw, 110px); font-weight: 800; line-height: .95; letter-spacing: -.02em; }
.contact-roles { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
.contact-roles span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: all .3s;
}
.contact-roles span:hover { border-color: var(--pink); color: var(--pink); transform: translateY(-2px); }
.contact-links { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.contact-links a, .contact-links div {
  padding: 22px 18px 22px 0;
  border-bottom: 1px solid var(--line);
  margin-right: 18px;
  display: grid;
  gap: 5px;
  transition: color .3s, transform .3s var(--ease);
}
.contact-links a:hover { color: var(--pink); transform: translateY(-3px); }
.contact-links .k { font-size: 10px; letter-spacing: .2em; color: var(--gray-light); text-transform: uppercase; }
.contact-links .v { font-size: 15px; font-weight: 700; word-break: break-all; }

.footer {
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  padding: 46px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .brand { font-size: 14px; font-weight: 800; letter-spacing: .14em; }
.footer .note { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.5); }
.footer .to-top { font-size: 12px; letter-spacing: .14em; border: 1px solid rgba(255,255,255,.4); padding: 9px 16px; border-radius: 100px; transition: all .3s; }
.footer .to-top:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .ai-modules { grid-template-columns: 1fr; }
  .ai-module { min-height: 0; }
  .ws-features { grid-template-columns: repeat(2, 1fr); }
  .campaign-steps { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 44px; }
  .hero-right { max-width: 520px; }
  .edu-exp { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .case-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .ai-gallery { grid-template-columns: 1fr; }
  .ws-product-body { grid-template-columns: 1fr; }
  .ws-mockup { grid-template-columns: 150px 1fr; }
  .creator-cases { grid-template-columns: 1fr; }
  .contact-links { grid-template-columns: repeat(2, 1fr); }
  .work-modules { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --pad: 20px; }
  .section-title { font-size: 44px; }
  .hero-title { font-size: 52px; }
  .masonry { columns: 2; column-gap: 10px; }
  .masonry .tile { margin-bottom: 10px; }
  .copy-imgs { grid-template-columns: repeat(2, 1fr); }
  .ws-features { grid-template-columns: 1fr; }
  .campaign-step { grid-template-columns: 1fr; gap: 6px; }
  .contact-links { grid-template-columns: 1fr; }
  .case-gallery { grid-template-columns: repeat(2, 1fr); }
  .work-module.grid-3 .imgs { grid-template-columns: 1fr; }
  .work-module.grid-4 .imgs { grid-template-columns: repeat(2, 1fr); }
}

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

/* =========================================================
   CREATIVE COLLAGE LAYER (v2)
   Editorial scrapbook accents: paper grain, washi tape,
   sticker notes, offset frames. Keeps the existing palette,
   type system and section architecture intact.
   ========================================================= */
:root {
  --paper: #F2EEE5;
  --paper-deep: #EAE3D4;
  --tape-y: rgba(242, 231, 158, .55);
  --tape-p: rgba(240, 110, 139, .22);
  --tape-w: rgba(255, 255, 255, .42);
  --sticker-y: #F3E9A8;
  --sticker-p: #F7CBD6;
  --ink-60: rgba(23, 23, 18, .6);
}

/* ---- 页面外框（参考「页面样式参考 / 页面样式参考2」的带框页面） ---- */
body::after {
  content: "";
  position: fixed;
  inset: 12px;
  z-index: 9998;
  pointer-events: none;
  border: 1px solid rgba(23, 23, 18, .5);
}

.section-head { position: relative; }

/* ---- washi tape ---- */
.tape {
  position: absolute;
  width: 96px;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px),
    var(--tape-y);
  box-shadow: 0 3px 6px rgba(23, 23, 18, .12);
  clip-path: polygon(2% 0, 98% 4%, 100% 100%, 0 96%);
  opacity: .92;
  transform: rotate(-4deg);
  z-index: 3;
  pointer-events: none;
}
.tape.pink { background-color: var(--tape-p); }
.tape.white { background-color: var(--tape-w); }

/* ---- round sticker badge ---- */
.sticker-round {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--sticker-y);
  border: 2px dashed rgba(23, 23, 18, .55);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.45;
  padding: 18px;
  transform: rotate(8deg);
  box-shadow: 0 10px 22px -12px rgba(23, 23, 18, .38);
}
.sticker-round.pink {
  background: var(--sticker-p);
  border-color: rgba(160, 48, 78, .5);
  color: #8F2B46;
}
.sticker-round.dark {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.sticker-round::before {
  content: "★";
  font-size: 13px;
  margin-right: 2px;
}

/* ---- star sticker ---- */
.sticker-star {
  position: absolute;
  z-index: 4;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 6px 10px rgba(23, 23, 18, .22));
  transform: rotate(12deg);
  pointer-events: none;
}
.sticker-star.pink { background: var(--pink); }
.sticker-star.sm { width: 34px; height: 34px; }

/* ---- paper sticky note ---- */
.paper-note {
  position: absolute;
  z-index: 3;
  background: var(--card) url("../assets/images/materials/note-paper.jpg") center / cover no-repeat;
  border: 1px solid var(--line-strong);
  box-shadow:
    inset 0 0 0 999px rgba(252, 251, 248, .78),
    0 14px 30px -18px rgba(23, 23, 18, .4);
  padding: 15px 17px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  line-height: 1.55;
  color: var(--ink-soft);
  text-transform: uppercase;
  transform: rotate(2.5deg);
  max-width: 220px;
}
.paper-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 74px;
  height: 19px;
  transform: translateX(-50%) rotate(-2deg);
  background: var(--tape-y);
  opacity: .8;
  box-shadow: 0 2px 4px rgba(23, 23, 18, .1);
}
.paper-note.cute {
  background-image: url("../assets/images/materials/cute-paper.jpg");
}

/* ---- manila folder tab ---- */
.folder-tab {
  position: absolute;
  z-index: 5;
  top: -16px;
  left: 24px;
  height: 32px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-bottom: 0;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .16em;
  font-weight: 700;
  color: var(--ink-soft);
  box-shadow: 0 -5px 12px -5px rgba(23, 23, 18, .22);
  pointer-events: none;
}
.folder-tab::before {
  content: "";
  position: absolute;
  right: 9px;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 18, .4);
}
.folder-tab.yellow { background: var(--sticker-y); }
.folder-tab.pink { background: var(--sticker-p); color: #8F2B46; border-color: rgba(160, 48, 78, .4); }

/* ---- category nav as manila folder tabs ---- */
.cat-nav {
  align-items: flex-end;
  border-bottom: 2px solid var(--line-strong);
  padding: 0 0 0 6px;
}
.cat-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 11px 24px 10px;
  border: 1px solid var(--line-strong);
  border-bottom: none;
  border-radius: 0;
  background: var(--bg-deep);
  color: var(--gray);
  clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%);
  margin-bottom: -1px;
  position: relative;
  transition: background .3s, color .3s, border-color .3s;
}
.cat-nav a::before {
  content: "";
  position: absolute;
  right: 9px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid rgba(23, 23, 18, .32);
}
.cat-nav a:hover, .cat-nav a.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.cat-nav a.active::before, .cat-nav a:hover::before { border-color: rgba(255, 255, 255, .55); }

/* ---- polaroid photo chip ---- */
.polaroid {
  position: absolute;
  z-index: 3;
  background: var(--card);
  border: 1px solid var(--line);
  padding: 8px 8px 30px;
  box-shadow: 0 16px 34px -22px rgba(23, 23, 18, .45);
  transform: rotate(-6deg);
}
.polaroid img {
  width: 122px;
  height: 152px;
  object-fit: cover;
  display: block;
}
.polaroid::after {
  content: attr(data-cap);
  position: absolute;
  bottom: 9px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .16em;
  color: var(--gray);
}

/* ---- slow float (decor only) ---- */
.float-slow { animation: floatSlow 5.2s ease-in-out infinite alternate; }
@keyframes floatSlow {
  from { translate: 0 0; }
  to { translate: 0 -9px; }
}

/* =========================================================
   HERO COLLAGE - more alive
   ========================================================= */
.hero-collage .collage-tape {
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 130px;
  z-index: 4;
}
.hero-collage .sticker-star.hero-star {
  top: -26px;
  right: -8px;
  width: 66px;
  height: 66px;
}
.hero-collage .sticker-round.hero-ai {
  right: -34px;
  bottom: 86px;
}
.hero-collage .paper-note.hero-note {
  left: -20px;
  bottom: 132px;
  transform: rotate(-3deg);
}
.hero-collage .folder-tab.hero-tab {
  top: -16px;
  left: 34%;
  transform: rotate(1deg);
}

/* =========================================================
   SECTION HEADERS - sticker accents
   ========================================================= */
.section-head .head-star {
  top: -18px;
  right: 8%;
}
.section-head .head-note {
  right: 2%;
  bottom: -8px;
}
.section-head .head-star.pink { background: var(--pink); }

/* =========================================================
   AI LAB MODULES - scrapbook cards
   ========================================================= */
.ai-module .tape {
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 112px;
}
.ai-module .folder-tab {
  top: -16px;
  left: 26px;
}
.ai-module .sticker-round {
  right: 18px;
  top: 136px;
  width: 82px;
  height: 82px;
  font-size: 8px;
  padding: 12px;
}
@media (min-width: 1081px) {
  .ai-modules { gap: 24px; }
  .ai-module:nth-child(1) { transform: rotate(-.55deg); }
  .ai-module:nth-child(2) { margin-top: 20px; transform: rotate(.45deg); }
  .ai-module:nth-child(3) { transform: rotate(-.3deg); }
  .ai-module:nth-child(1):hover { transform: translateY(-8px) rotate(0); }
  .ai-module:nth-child(2):hover { transform: translateY(-8px) rotate(0); }
  .ai-module:nth-child(3):hover { transform: translateY(-8px) rotate(0); }
}

/* ---- AI image gallery as framed scrapbook ---- */
.ai-gallery { gap: 28px 22px; }
.ai-gallery-item {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 10px 10px 16px;
  box-shadow: 0 16px 36px -26px rgba(23, 23, 18, .35);
  position: relative;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.ai-gallery-item .tape {
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 104px;
}
.ai-gallery-item img { box-shadow: 0 0 0 1px var(--line); }
.ai-gallery-item:nth-child(1) { transform: rotate(-1.2deg); }
.ai-gallery-item:nth-child(2) { margin-top: 22px; transform: rotate(.9deg); }
.ai-gallery-item:nth-child(3) { transform: rotate(-.7deg); }
.ai-gallery-item:hover {
  transform: translateY(-6px) rotate(0);
  box-shadow: 0 26px 50px -28px rgba(23, 23, 18, .45);
  z-index: 5;
}

/* =========================================================
   VIDEO + CREATOR CARDS - tape & offset
   ========================================================= */
.video-card {
  position: relative;
  background: var(--card);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.video-card .tape {
  top: -10px;
  left: -14px;
  width: 108px;
}
.video-card:nth-child(odd) { transform: rotate(-.5deg); }
.video-card:nth-child(even) { margin-top: 18px; transform: rotate(.55deg); }
.video-card:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: 0 24px 46px -30px rgba(23, 23, 18, .4);
}

.creator-case { position: relative; }
.creator-case .tape {
  top: -11px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 104px;
}
.creator-case:nth-child(1) { transform: rotate(-.5deg); }
.creator-case:nth-child(2) { margin-top: 16px; transform: rotate(.55deg); }
.creator-case:nth-child(3) { transform: rotate(-.35deg); }
.creator-case:nth-child(1):hover { transform: translateY(-6px) rotate(0); }
.creator-case:nth-child(2):hover { transform: translateY(-6px) rotate(0); }
.creator-case:nth-child(3):hover { transform: translateY(-6px) rotate(0); }

/* ---- marketing case cards: tape corner ---- */
.case-card { position: relative; overflow: visible; }
.case-card::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 22px;
  width: 92px;
  height: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px),
    var(--tape-y);
  clip-path: polygon(2% 0, 98% 4%, 100% 100%, 0 96%);
  transform: rotate(-3deg);
  z-index: 3;
  box-shadow: 0 3px 6px rgba(23, 23, 18, .1);
  pointer-events: none;
}

/* =========================================================
   WORKSPACE - note on the real product
   ========================================================= */
.ws-product .tape {
  top: -12px;
  left: 30px;
  width: 128px;
}
.ws-product .paper-note.ws-note {
  right: -16px;
  bottom: -30px;
  transform: rotate(2deg);
}
.ws-product .sticker-round.ws-live-sticker {
  right: 14px;
  top: 10px;
  width: 86px;
  height: 86px;
  font-size: 9px;
  opacity: .96;
}

/* =========================================================
   WORKS + VISUAL + CONTACT
   ========================================================= */
.work-module { position: relative; }
.work-module .folder-tab {
  top: -16px;
  left: 22px;
}
.work-module:nth-of-type(2) { transform: rotate(-.25deg); }
.work-module:nth-of-type(3) { transform: rotate(.3deg); }
.work-module:nth-of-type(4) { transform: rotate(-.2deg); }
.work-module:nth-of-type(2):hover,
.work-module:nth-of-type(3):hover,
.work-module:nth-of-type(4):hover { transform: rotate(0); }

.contact-title { position: relative; }
.contact-title::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 10px;
  width: 150px;
  height: 30px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 12px),
    var(--tape-p);
  clip-path: polygon(2% 0, 98% 4%, 100% 100%, 0 96%);
  transform: rotate(-2deg);
  box-shadow: 0 3px 6px rgba(23, 23, 18, .1);
  pointer-events: none;
}
.contact-hero .sticker-round.contact-thanks {
  right: 6%;
  top: 18%;
  transform: rotate(-8deg);
}
.contact-hero .paper-note.contact-note {
  right: 14%;
  top: 34%;
  transform: rotate(4deg);
}

/* =========================================================
   RESPONSIVE COLLAGE
   ========================================================= */
@media (max-width: 1080px) {
  .ai-module:nth-child(2) { transform: none; }
  .ai-module:nth-child(2) { margin-top: 0; }
  .ai-gallery-item:nth-child(2) { transform: rotate(.5deg); }
  .ai-gallery-item:nth-child(2) { margin-top: 0; }
  .video-card:nth-child(even) { transform: rotate(.5deg); }
  .video-card:nth-child(even) { margin-top: 0; }
  .creator-case:nth-child(2) { transform: rotate(.45deg); }
  .creator-case:nth-child(2) { margin-top: 0; }
}

@media (max-width: 900px) {
  .hero-collage .sticker-round.hero-ai {
    right: -6px;
    bottom: 60px;
    width: 100px;
    height: 100px;
    font-size: 9px;
  }
  .hero-collage .paper-note.hero-note {
    left: -8px;
    bottom: 12px;
    max-width: 180px;
  }
  .section-head .head-note { display: none; }
  .ws-product .paper-note.ws-note {
    right: 4px;
    bottom: -24px;
  }
  .ws-product .sticker-round.ws-live-sticker { display: none; }
  .contact-hero .sticker-round.contact-thanks { top: 10%; right: 4%; }
  .contact-hero .paper-note.contact-note { display: none; }
}

@media (max-width: 600px) {
  .ws-product .paper-note.ws-note { display: none; }
  .hero-collage .sticker-star.hero-star { right: 4px; }
  .hero-collage .folder-tab.hero-tab {
    left: 30%;
    padding: 0 16px;
  }
  .ai-gallery-item:nth-child(1),
  .ai-gallery-item:nth-child(2),
  .ai-gallery-item:nth-child(3) { transform: rotate(-.4deg); }
  .ai-gallery-item:nth-child(2) { transform: rotate(.5deg); }
  .video-card:nth-child(odd),
  .video-card:nth-child(even) { transform: none; }
  .creator-case:nth-child(1),
  .creator-case:nth-child(2),
  .creator-case:nth-child(3) { transform: none; }
  .creator-case:nth-child(2):hover,
  .creator-case:nth-child(3):hover { transform: translateY(-4px); }
  .work-module:nth-of-type(2),
  .work-module:nth-of-type(3),
  .work-module:nth-of-type(4) { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .float-slow { animation: none !important; }
  .tape, .sticker-round, .sticker-star, .paper-note, .polaroid, .folder-tab {
    transform: none !important;
  }
}
