:root {
  --bg: #fffafc;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(124, 82, 111, 0.14);
  --text: #3f2940;
  --muted: rgba(63, 41, 64, 0.7);
  --muted-soft: rgba(63, 41, 64, 0.46);
  --accent: #d778a5;
  --accent-soft: rgba(215, 120, 165, 0.14);
  --shadow: 0 24px 70px rgba(151, 102, 134, 0.16);
  --radius: 22px;
  --max: 1220px;
  --gutter: clamp(14px, 3vw, 28px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 205, 224, 0.62), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(218, 207, 255, 0.58), transparent 23%),
    radial-gradient(circle at 72% 86%, rgba(255, 225, 191, 0.54), transparent 25%),
    linear-gradient(145deg, #fffdfd 0%, #fff8fb 48%, #f8f5ff 100%);
  overflow-x: hidden;
}

.ambient-webgl-canvas,
.dot-grid-canvas,
.grid-scan-canvas,
.line-waves-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.56;
  mix-blend-mode: screen;
}

.ambient-webgl-canvas {
  opacity: 0.72;
  mix-blend-mode: plus-lighter;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.48;
  background-image:
    repeating-linear-gradient(128deg, rgba(184, 131, 162, 0.12) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(38deg, rgba(160, 141, 211, 0.07) 0 1px, transparent 1px 120px);
  filter: none;
  mask-image: radial-gradient(circle at center, black 26%, black 54%, transparent 90%);
}

.perf-lite .ambient-webgl-canvas,
.perf-lite .dot-grid-canvas,
.perf-lite .grid-scan-canvas,
.perf-lite .line-waves-canvas {
  opacity: 0.42;
  mix-blend-mode: normal;
}

.home-click-ripple {
  position: fixed;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(221, 109, 155, .72);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: home-click-ripple .72s cubic-bezier(.2, .75, .25, 1) forwards;
}

@keyframes home-click-ripple {
  0% { opacity: .78; box-shadow: 0 0 0 0 rgba(221, 109, 155, .28); }
  100% { opacity: 0; box-shadow: 0 0 0 18px rgba(221, 109, 155, 0); transform: translate(-50%, -50%) scale(4.4); }
}

@media (prefers-reduced-motion: reduce) {
  .home-click-ripple { display: none; }
}

.perf-lite body::before {
  opacity: 0.12;
  filter: none;
}

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

button {
  font: inherit;
}

video {
  display: block;
  width: 100%;
  height: 100%;
}

video:fullscreen,
.collection-media:fullscreen video,
.prompt-media:fullscreen video,
video:-webkit-full-screen,
.collection-media:-webkit-full-screen video,
.prompt-media:-webkit-full-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #050505;
}

video::-webkit-media-controls-download-button,
video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

video::-webkit-media-controls-panel {
  -webkit-appearance: none;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100%, calc(var(--max) + var(--gutter) * 2));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(14px, 2.2vh, 28px) var(--gutter) 18px;
  display: flex;
  flex-direction: column;
}

/* Friend portfolio theme: airy white paper, rose and lavender glass. */
.page::before,
.page::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: clamp(180px, 26vw, 390px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.55;
  animation: pastel-drift 14s ease-in-out infinite alternate;
}

.page::before {
  top: 18%;
  left: -9%;
  background: radial-gradient(circle, rgba(255, 182, 209, 0.48), rgba(255, 226, 237, 0.08) 62%, transparent 72%);
}

.page::after {
  right: -8%;
  bottom: 8%;
  background: radial-gradient(circle, rgba(197, 184, 255, 0.42), rgba(225, 217, 255, 0.06) 62%, transparent 72%);
  animation-delay: -6s;
}

@keyframes pastel-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5vw, -3vh, 0) scale(1.14); }
}

.site-header,
.home-masonry,
.section-label,
.video-collection,
.footer { position: relative; z-index: 1; }

.commercial-page .page {
  padding-top: clamp(24px, 3.5vh, 40px);
  padding-bottom: clamp(26px, 4vh, 44px);
}

.commercial-page .site-header,
.commercial-page .section-label,
.commercial-page .video-collection,
.commercial-page .footer {
  width: min(100%, 1040px);
  margin-left: auto;
  margin-right: auto;
}

.commercial-page .section-label {
  padding-top: clamp(18px, 3vh, 30px);
}

.commercial-page .video-collection {
  padding-top: clamp(14px, 2.5vh, 28px);
}

.commercial-page .collection-grid {
  gap: clamp(18px, 2vw, 24px);
}

.commercial-page .collection-card .glow-shell {
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.34);
}

/* Commercial cards use a light background, so body copy needs stronger contrast. */
.commercial-page .prompt-copy p {
  color: #573f55;
}

.commercial-page .prompt-shell {
  padding: clamp(16px, 2.2vw, 28px);
}

/* Technology product campaign case */
.strategy-preview {
  position: relative;
  overflow: hidden;
  background: #0a2136;
}
.strategy-preview img,
.strategy-preview video { width:100%; height:100%; display:block; object-fit:cover; object-position:center; transition:transform .5s ease; }
.strategy-tile:hover .strategy-preview img,
.strategy-tile:hover .strategy-preview video { transform:scale(1.04); }

.campaign-page {
  --tech-ink: #dff9ff;
  --tech-muted: rgba(215, 244, 250, 0.7);
  --tech-line: rgba(152, 232, 249, 0.2);
  --tech-aqua: #74e7f7;
  --tech-blue: #7898ff;
  color: var(--tech-ink);
  background:
    radial-gradient(circle at 8% 12%, rgba(36, 149, 190, 0.22), transparent 24%),
    radial-gradient(circle at 92% 22%, rgba(92, 93, 222, 0.2), transparent 28%),
    #0a101c;
}

/* Zebra content IP case: warm editorial layout to distinguish the real education project from the tech proposal. */
.zebra-page { --zebra-ink:#432e4c; --zebra-muted:rgba(67,46,76,.72); --zebra-line:rgba(147,82,126,.18); --zebra-pink:#dd6d9b; --zebra-lilac:#745bb2; background:linear-gradient(145deg,#fff9f4 0%,#fff2f7 48%,#f4efff 100%); color:var(--zebra-ink); }.zebra-page .page::before { background:radial-gradient(circle,rgba(255,176,204,.54),rgba(255,226,237,.05) 65%,transparent 75%); }.zebra-page .page::after { background:radial-gradient(circle,rgba(173,148,255,.35),rgba(225,217,255,.05) 65%,transparent 75%); }.zebra-page .site-title { color:var(--zebra-ink); }.zebra-page .eyebrow,.zebra-page .zebra-kicker,.zebra-page .zebra-number { color:var(--zebra-pink); }.zebra-page .nav-pill { color:var(--zebra-ink); border-color:rgba(131,79,121,.18); background:rgba(255,255,255,.46); }.zebra-main { width:min(100%,1120px); margin:0 auto; }.zebra-hero { display:grid; grid-template-columns:1fr .94fr; gap:clamp(28px,6vw,88px); align-items:center; padding:clamp(32px,5vw,70px); border:1px solid rgba(163,93,137,.2); border-radius:30px; background:linear-gradient(135deg,rgba(255,255,255,.82),rgba(255,237,246,.66)); box-shadow:0 28px 80px rgba(150,92,133,.15); }.zebra-kicker,.zebra-number { font-size:11px; letter-spacing:.12em; }.zebra-hero h1 { margin:16px 0 18px; font-size:clamp(40px,6vw,76px); line-height:1; letter-spacing:-.08em; }.zebra-lede { color:var(--zebra-muted); font-size:clamp(15px,1.6vw,18px); }.zebra-note { margin-top:18px; color:rgba(104,75,101,.54); font-size:12px; }.zebra-hero-media { overflow:hidden; border-radius:22px; background:#cf5588; box-shadow:0 18px 42px rgba(113,59,99,.23); }.zebra-hero-media img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }.zebra-hero-media figcaption { padding:10px 14px; color:#fff6fb; font-size:10px; letter-spacing:.1em; }.zebra-section { padding-top:clamp(70px,10vw,126px); }.zebra-intro-grid,.zebra-film-grid { display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(30px,8vw,120px); align-items:end; }.zebra-intro-grid h2,.zebra-film-copy h2 { font-size:clamp(30px,4vw,56px); line-height:1.06; letter-spacing:-.07em; }.zebra-intro-grid p,.zebra-film-copy p { color:var(--zebra-muted); font-size:16px; }.zebra-intro-grid p + p { margin-top:18px; }.zebra-intro-grid strong { color:var(--zebra-ink); }.zebra-pillars,.zebra-role-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }.zebra-pillars article,.zebra-role-grid article { min-height:230px; padding:22px; border:1px solid var(--zebra-line); border-radius:18px; background:rgba(255,255,255,.55); }.zebra-pillars article:nth-child(1) { background:linear-gradient(150deg,rgba(255,183,124,.28),rgba(255,255,255,.5)); }.zebra-pillars article:nth-child(2) { background:linear-gradient(150deg,rgba(230,154,216,.3),rgba(255,255,255,.5)); }.zebra-pillars article:nth-child(3) { background:linear-gradient(150deg,rgba(153,187,255,.28),rgba(255,255,255,.5)); }.zebra-pillars span,.zebra-role-grid span { color:var(--zebra-pink); font-size:11px; letter-spacing:.1em; }.zebra-pillars h3,.zebra-role-grid h3 { margin:44px 0 9px; font-size:25px; letter-spacing:-.05em; }.zebra-pillars p,.zebra-role-grid p { color:var(--zebra-muted); font-size:14px; }.zebra-role-grid article { min-height:208px; }.zebra-role-grid article:nth-child(2) span { color:var(--zebra-lilac); }.zebra-role-grid article:nth-child(3) span { color:#bd8544; }.zebra-role-grid h3 { margin-top:40px; }.zebra-video { overflow:hidden; border:1px solid var(--zebra-line); border-radius:18px; background:#2b1d35; box-shadow:0 20px 46px rgba(100,57,92,.18); }.zebra-video video { display:block; width:100%; aspect-ratio:16/9; background:#1c1221; }.zebra-video figcaption { display:flex; gap:9px; padding:11px 14px; color:#fff1f8; font-size:12px; }.zebra-video figcaption span { color:#ffbbd3; font-size:10px; letter-spacing:.1em; }.zebra-results { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:clamp(70px,10vw,126px); border:1px solid var(--zebra-line); background:var(--zebra-line); }.zebra-results div { padding:clamp(24px,4vw,42px); background:rgba(255,255,255,.62); }.zebra-results span { display:block; color:var(--zebra-pink); font-size:clamp(38px,5vw,64px); font-weight:650; line-height:1; letter-spacing:-.08em; }.zebra-results p { margin-top:8px; color:var(--zebra-muted); font-size:14px; }

@media (max-width:820px) { .zebra-hero,.zebra-intro-grid,.zebra-film-grid { grid-template-columns:1fr; }.zebra-hero { padding:28px 22px; }.zebra-hero-media { order:-1; }.zebra-pillars,.zebra-role-grid,.zebra-results { grid-template-columns:1fr; }.zebra-pillars article,.zebra-role-grid article { min-height:auto; }.zebra-pillars h3,.zebra-role-grid h3 { margin-top:28px; } }

.zebra-hero-expanded { grid-template-columns:1.28fr .72fr; }.zebra-hero-stats { display:grid; gap:1px; overflow:hidden; border:1px solid var(--zebra-line); background:var(--zebra-line); }.zebra-hero-stats div { display:flex; align-items:baseline; gap:12px; padding:17px; background:rgba(255,255,255,.68); }.zebra-hero-stats b { color:var(--zebra-pink); font-size:clamp(27px,3vw,42px); line-height:1; letter-spacing:-.08em; }.zebra-hero-stats span { color:var(--zebra-muted); font-size:12px; }.zebra-overview { padding-bottom:12px; border-bottom:1px solid var(--zebra-line); }.zebra-subject-head { display:grid; grid-template-columns:1fr .9fr; gap:clamp(24px,7vw,92px); align-items:end; margin-bottom:26px; }.zebra-subject-head span { color:var(--zebra-pink); font-size:11px; letter-spacing:.13em; }.zebra-subject-head h2 { margin-top:12px; font-size:clamp(30px,4vw,54px); line-height:1.06; letter-spacing:-.07em; }.zebra-subject-head p { color:var(--zebra-muted); font-size:16px; }.zebra-source-grid { display:grid; gap:14px; }.music-sources { grid-template-columns:1.15fr 1fr .85fr; }.zebra-source-card { position:relative; min-height:270px; overflow:hidden; border:1px solid var(--zebra-line); border-radius:18px; background:#fff; }.zebra-source-card img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }.source-music-story img { object-position:83% 58%; }.source-music-world img { object-position:77% 58%; }.source-music-characters img { object-position:77% 50%; }.zebra-source-card::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 54%,rgba(57,31,59,.76)); }.zebra-source-card figcaption { position:absolute; z-index:1; bottom:0; padding:16px; color:#fff; font-size:12px; line-height:1.55; }.zebra-journey { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; margin-top:14px; border:1px solid var(--zebra-line); background:var(--zebra-line); }.zebra-journey article { padding:22px; background:rgba(255,255,255,.62); }.zebra-journey span,.zebra-art-logic span { color:var(--zebra-pink); font-size:11px; letter-spacing:.1em; }.zebra-journey h3,.zebra-art-logic h3 { margin:30px 0 8px; font-size:22px; letter-spacing:-.05em; }.zebra-journey p,.zebra-art-logic p { color:var(--zebra-muted); font-size:14px; }.zebra-art-layout { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; }.zebra-art-feature { position:relative; min-height:420px; overflow:hidden; border:1px solid var(--zebra-line); border-radius:20px; background:#fff; }.zebra-art-feature img { width:100%; height:100%; position:absolute; inset:0; object-fit:cover; object-position:55% 47%; }.zebra-art-feature::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 58%,rgba(63,35,69,.74)); }.zebra-art-feature figcaption { position:absolute; z-index:1; left:0; right:0; bottom:0; padding:22px; color:#fff; font-size:13px; }.zebra-art-feature figcaption span { display:block; margin-bottom:5px; color:#ffbdd4; font-size:10px; letter-spacing:.12em; }.zebra-art-logic { display:grid; gap:1px; border:1px solid var(--zebra-line); background:var(--zebra-line); }.zebra-art-logic article { padding:20px; background:rgba(255,255,255,.62); }.zebra-art-gallery { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:14px; }.zebra-art-gallery figure { overflow:hidden; border:1px solid var(--zebra-line); border-radius:18px; background:#fff; }.zebra-art-gallery img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }.zebra-art-gallery figure:first-child img { object-position:51% 58%; }.zebra-art-gallery figure:last-child img { object-position:50% 55%; }.zebra-art-gallery figcaption { padding:14px; color:var(--zebra-muted); font-size:12px; line-height:1.6; }

@media (max-width:820px) { .zebra-hero-expanded,.zebra-subject-head,.zebra-art-layout { grid-template-columns:1fr; }.music-sources,.zebra-journey,.zebra-art-gallery { grid-template-columns:1fr; }.zebra-source-card { min-height:230px; }.zebra-art-feature { min-height:300px; } }

.campaign-page .page { width: min(100%, 1320px); padding-top: clamp(22px, 4vh, 44px); }
.campaign-page .site-header { padding-bottom: clamp(34px, 6vh, 74px); }
.campaign-page .site-title { color: #f2fdff; }
.campaign-page .eyebrow { color: var(--tech-aqua); }
.campaign-page .page::before { background: radial-gradient(circle, rgba(29, 173, 203, 0.26), rgba(21, 44, 80, 0.02) 65%, transparent 75%); }
.campaign-page .page::after { background: radial-gradient(circle, rgba(102, 97, 232, 0.21), rgba(26, 28, 76, 0.02) 66%, transparent 78%); }
.campaign-page .page-nav { background: rgba(255,255,255,0.03); border-color: rgba(157, 231, 247, 0.14); }
.campaign-page .nav-pill { color: rgba(233, 252, 255, 0.78); border-color: rgba(157, 231, 247, 0.16); }

.campaign-main { width: min(100%, 1120px); margin: 0 auto; }
.campaign-hero { padding: clamp(24px, 4vw, 56px); border: 1px solid var(--tech-line); border-radius: 28px; overflow: hidden; background: linear-gradient(135deg, rgba(16, 31, 49, 0.88), rgba(10, 18, 34, 0.82)); box-shadow: 0 30px 80px rgba(0,0,0,0.22); }
.campaign-kicker { color: var(--tech-aqua); font-size: 11px; letter-spacing: 0.14em; }
.campaign-note { margin-top: 8px; color: rgba(216, 244, 249, 0.52); font-size: 12px; }
.campaign-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(22px, 5vw, 64px); padding-top: clamp(24px, 4vw, 54px); }
.campaign-label, .section-number, .concept-type { color: var(--tech-aqua); font-size: 12px; letter-spacing: 0.08em; }
.campaign-title-wrap h1 { margin: 14px 0 18px; font-size: clamp(40px, 6vw, 86px); line-height: 0.98; letter-spacing: -0.08em; font-weight: 600; }
.campaign-lede { max-width: 31em; color: var(--tech-muted); font-size: clamp(15px, 1.6vw, 18px); }
.robot-stage { position: relative; min-height: 360px; border: 1px solid rgba(154, 235, 255, 0.2); overflow: hidden; background: linear-gradient(140deg, rgba(65, 129, 163, 0.26), rgba(16, 25, 52, 0.08)); }
.stage-grid { position: absolute; inset: 0; opacity: 0.42; background-image: linear-gradient(rgba(151,236,255,0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(151,236,255,0.16) 1px, transparent 1px); background-size: 32px 32px; mask-image: linear-gradient(to bottom, black, transparent); }
.robot-halo { position: absolute; left: 50%; top: 50%; width: 220px; aspect-ratio: 1; border: 1px solid rgba(109, 233, 249, 0.46); border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 28px rgba(109, 233, 249, 0.04), 0 0 50px rgba(72, 177, 255, 0.36); }
.robot-mark { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -65%); color: #effeff; font-size: clamp(76px, 12vw, 130px); font-weight: 700; letter-spacing: -0.14em; text-shadow: 0 0 32px rgba(113,229,249,0.5); }
.robot-body { position: absolute; z-index: 2; bottom: 23%; left: 50%; width: 170px; height: 46px; border: 2px solid #d7f8ff; border-radius: 28px 34px 18px 18px; transform: translateX(-50%); background: linear-gradient(145deg, rgba(207,250,255,0.46), rgba(44,157,201,0.2)); box-shadow: 0 0 22px rgba(114,230,250,0.4); }
.robot-body::before { content:""; position:absolute; right:-24px; top:7px; width:34px; height:24px; border:2px solid #d7f8ff; border-radius: 4px 13px 13px 4px; }
.robot-body i { position: absolute; top: 38px; width: 3px; height: 62px; background: #d7f8ff; transform-origin: top; }
.robot-body i:nth-child(1) { left: 25px; transform: rotate(23deg); }.robot-body i:nth-child(2) { left: 58px; transform: rotate(-21deg); }.robot-body i:nth-child(3) { right: 55px; transform: rotate(21deg); }.robot-body i:nth-child(4) { right: 24px; transform: rotate(-23deg); }
.stage-tag { position: absolute; padding: 4px 7px; color: var(--tech-aqua); border: 1px solid rgba(116,231,247,0.4); font-size: 10px; letter-spacing: 0.08em; }.tag-one { top: 18%; left: 9%; }.tag-two { right: 8%; top: 42%; }.tag-three { left: 14%; bottom: 13%; }

.campaign-section { padding: clamp(60px, 9vw, 120px) 0 0; }.section-number { margin-bottom: 18px; }
.brief-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 8vw, 120px); padding-bottom: clamp(36px, 6vw, 78px); border-bottom: 1px solid var(--tech-line); }.brief-grid h2 { font-size: clamp(30px, 4vw, 56px); line-height: 1.08; letter-spacing: -0.06em; }.brief-copy { display: grid; gap: 18px; color: var(--tech-muted); font-size: 16px; }.brief-copy strong { display: block; margin-bottom: 4px; color: var(--tech-ink); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.pillar-card { min-height: 240px; padding: 22px; border: 1px solid var(--tech-line); border-radius: 16px; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(255,255,255,0.03); }.pillar-card span { margin-bottom: auto; color: var(--tech-aqua); font-size: 12px; }.pillar-card h3 { font-size: 28px; letter-spacing: -0.05em; }.pillar-card p { margin-top: 8px; color: var(--tech-muted); font-size: 14px; }.pillar-warm { background: linear-gradient(150deg, rgba(242, 155, 89, 0.26), rgba(23,24,41,0.25)); }.pillar-tech { background: linear-gradient(150deg, rgba(53, 155, 239, 0.28), rgba(23,24,41,0.25)); }.pillar-play { background: linear-gradient(150deg, rgba(119, 110, 243, 0.28), rgba(23,24,41,0.25)); }
.video-concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }.concept-card { overflow: hidden; border: 1px solid var(--tech-line); border-radius: 16px; background: rgba(255,255,255,0.035); }.cover-art { position: relative; min-height: 255px; padding: 16px; overflow: hidden; display:flex; flex-direction:column; justify-content:space-between; }.cover-art span { position: relative; z-index:1; color:rgba(255,255,255,.8); font-size:12px; }.cover-art b { position:relative; z-index:1; color:#fff; font-size:clamp(34px, 4vw, 52px); line-height:.86; letter-spacing:-.1em; }.cover-art i { position:absolute; right:13%; bottom:15%; width:46%; aspect-ratio:1.8; border:2px solid rgba(255,255,255,.85); border-radius:50% 46% 35% 40%; transform:rotate(-10deg); }.cover-art i::after { content:""; position:absolute; left:19%; bottom:-45%; width:4px; height:84%; background:#fff; transform:rotate(26deg); box-shadow:25px -14px #fff, 53px 1px #fff, 77px -15px #fff; }.concept-home .cover-art { background:linear-gradient(145deg,#d08050,#62374b); }.concept-sense .cover-art { background:radial-gradient(circle at 78% 80%,#237cd2,transparent 40%),linear-gradient(145deg,#051f3d,#182a75); }.concept-kid .cover-art { background:linear-gradient(145deg,#805dce,#e45c91); }.concept-copy { padding: 20px; }.concept-copy h3 { margin:9px 0 13px; font-size:25px; line-height:1.04; letter-spacing:-.06em; }.concept-copy > p:last-child { color:var(--tech-muted); font-size:14px; }.concept-copy strong { color:#fff; }
.is-image-cover { display:block; padding:0; isolation:isolate; background:#071a30 !important; }.is-image-cover img, .is-image-cover video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }.is-image-cover video { pointer-events:none; }.concept-card:hover .is-image-cover img, .concept-card:hover .is-image-cover video { transform:scale(1.045); }.is-image-cover::after { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(3,10,20,.02) 25%,rgba(3,10,20,.28) 100%); }.cover-overlay { position:absolute; z-index:2; inset:0; padding:16px; display:flex; flex-direction:column; justify-content:space-between; }.cover-overlay b { max-width:5.8em; font-size:clamp(29px,3.1vw,42px); text-shadow:0 2px 18px rgba(0,0,0,.42); }
.campaign-page .cover-overlay b { font-size:clamp(24px,2.5vw,36px); line-height:1; letter-spacing:.02em; }
.concept-play-button { position:absolute; top:50%; left:50%; display:grid; width:86px; aspect-ratio:1; place-items:center; padding:0; border:1px solid rgba(255,255,255,.3); border-radius:50%; background:rgba(8,16,30,.34); box-shadow:0 12px 30px rgba(0,0,0,.22); transform:translate(-50%,-50%); cursor:pointer; transition:background .2s ease, transform .2s ease; }
.concept-play-button:hover { background:rgba(116,231,247,.34); transform:translate(-50%,-50%) scale(1.06); }
.concept-play-button span { width:0; height:0; margin-left:6px; border-top:13px solid transparent; border-bottom:13px solid transparent; border-left:20px solid #fff; }
.concept-card { transition:transform .28s ease; }
.concept-card.is-expanded { position:relative; z-index:4; transform:scale(1.04); }
.concept-card.is-expanded .cover-art { min-height:360px; }
.concept-card.is-expanded .concept-play-button { display:none; }
.concept-card.is-expanded .cover-overlay { pointer-events:none; }
.concept-card.is-expanded .cover-art video { pointer-events:auto; }
.concept-controls { position:absolute; z-index:3; right:16px; bottom:14px; left:16px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:8px 10px; border:1px solid rgba(255,255,255,.24); border-radius:10px; background:rgba(8,16,30,.78); color:#fff; font-size:12px; opacity:0; pointer-events:none; transform:translateY(8px); transition:opacity .2s ease, transform .2s ease; }
.concept-card.is-expanded .concept-controls { opacity:1; pointer-events:auto; transform:translateY(0); }
.concept-toggle { min-width:44px; padding:4px 8px; border:1px solid rgba(255,255,255,.32); border-radius:6px; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.concept-controls label { display:flex; align-items:center; gap:8px; }
.concept-volume { width:130px; height:20px; margin:0; accent-color:#74e7f7; cursor:pointer; touch-action:none; }

.film-head { display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(24px,7vw,110px); align-items:end; padding-bottom:28px; }.film-head h2 { font-size:clamp(30px,4vw,56px); line-height:1.05; letter-spacing:-.07em; }.film-head p { color:var(--tech-muted); font-size:16px; }.film-credits { display:flex; align-items:center; justify-content:center; gap:14px; width:min(100%,420px); margin:0 auto; color:var(--tech-muted); font-size:13px; }.film-credits span { flex:0 0 auto; color:var(--tech-aqua); font-size:10px; letter-spacing:.1em; }.film-credits p { margin:0; }.film-credits strong { color:var(--tech-ink); font-weight:500; }
.campaign-video { width:min(100%, 420px); margin:0 auto 24px; overflow:hidden; border:1px solid rgba(153,233,249,.38); border-radius:18px; background:#07111e; box-shadow:0 20px 50px rgba(0,0,0,.28); }.campaign-video video { display:block; width:100%; max-height:680px; background:#040a12; }.campaign-video figcaption { display:flex; align-items:center; gap:9px; padding:11px 14px; color:rgba(221,250,255,.82); font-size:12px; }.campaign-video figcaption span { color:var(--tech-aqua); font-size:10px; letter-spacing:.1em; }
.schedule-layout { display:grid; grid-template-columns: 1fr 260px; gap:20px; align-items:stretch; }.schedule-line { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--tech-line); border:1px solid var(--tech-line); }.schedule-line article { padding:22px; background:#0e1828; }.schedule-line span { color:var(--tech-aqua); font-size:11px; letter-spacing:.08em; }.schedule-line h3 { margin:25px 0 8px; font-size:22px; letter-spacing:-.05em; }.schedule-line p { color:var(--tech-muted); font-size:14px; }.metrics-box { padding:22px; border:1px solid var(--tech-line); background:linear-gradient(145deg,rgba(96,91,210,.35),rgba(37,108,143,.14)); }.metrics-box p { color:var(--tech-aqua); font-size:12px; }.metrics-box strong { display:block; margin-top:26px; font-size:20px; line-height:1.35; letter-spacing:-.05em; }.campaign-outro { margin-top:clamp(70px, 10vw, 130px); padding:clamp(40px, 6vw, 80px) 0; text-align:center; border-top:1px solid var(--tech-line); border-bottom:1px solid var(--tech-line); color:#e9fcff; font-size:clamp(27px,4vw,54px); font-weight:600; line-height:1.15; letter-spacing:-.07em; }

@media (max-width: 820px) {
  .campaign-hero-grid, .brief-grid, .schedule-layout, .film-head { grid-template-columns: 1fr; }.campaign-hero { padding: 22px; }.robot-stage { min-height: 290px; }.pillar-grid, .video-concepts { grid-template-columns: 1fr; }.pillar-card { min-height: 180px; }.video-concepts { gap: 14px; }.cover-art { min-height: 215px; }.campaign-video { width:min(100%, 360px); }.film-credits { align-items:flex-start; flex-direction:column; gap:4px; }.schedule-line { grid-template-columns: 1fr; }.campaign-page .site-header { padding-bottom: 35px; }
}

.site-header {
  padding: 8px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
}

.site-header.compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
}

.brand {
  display: grid;
  gap: 5px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.site-title {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 0.95;
  letter-spacing: 0;
}

.lede {
  max-width: 30rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
  text-align: right;
}

.page-nav {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: visible;
}

.nav-pill,
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 241, 234, 0.88);
  font-size: 12px;
  letter-spacing: 0;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
  flex: 0 0 auto;
}

.pill-fill {
  position: absolute;
  left: 50%;
  bottom: -120%;
  width: var(--pill-circle-size, 120px);
  height: var(--pill-circle-size, 120px);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(216, 255, 99, 0.94), rgba(174, 217, 70, 0.82));
  transform: translateX(-50%) scale(0);
  transform-origin: 50% var(--pill-origin-y, 100%);
  z-index: 0;
  pointer-events: none;
}

.back-pill .pill-fill {
  left: auto;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 100% 50%;
}

.pill-label,
.pill-label-hover {
  position: relative;
  z-index: 1;
  display: block;
  will-change: transform, opacity;
}

.pill-label-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #11130f;
  opacity: 0;
  transform: translateY(130%);
}

.page-nav .nav-pill.is-current {
  border-color: rgba(216, 255, 99, 0.42);
  background: rgba(216, 255, 99, 0.12);
  color: var(--text);
}

.back-pill {
  border-color: rgba(216, 255, 99, 0.32);
  background: rgba(216, 255, 99, 0.1);
  color: var(--text);
}

.page-back {
  margin-top: 4px;
}

.nav-pill:hover,
.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(216, 255, 99, 0.26);
  background: rgba(216, 255, 99, 0.08);
}

/* Local fallback for the pill interaction: keeps the original fill-and-label
   transition even when the optional GSAP CDN is unavailable. */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nav-pill .pill-fill,
  .pill .pill-fill {
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .nav-pill .pill-label,
  .pill .pill-label,
  .nav-pill .pill-label-hover,
  .pill .pill-label-hover {
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 240ms ease;
  }

  .nav-pill:hover .pill-fill,
  .nav-pill:focus-visible .pill-fill,
  .pill:hover .pill-fill,
  .pill:focus-visible .pill-fill {
    transform: translateX(-50%) scale(1.16);
  }

  .back-pill:hover .pill-fill,
  .back-pill:focus-visible .pill-fill {
    transform: scaleX(1);
  }

  .nav-pill:hover .pill-label,
  .nav-pill:focus-visible .pill-label,
  .pill:hover .pill-label,
  .pill:focus-visible .pill-label {
    opacity: 0;
    transform: translateY(-140%);
  }

  .nav-pill:hover .pill-label-hover,
  .nav-pill:focus-visible .pill-label-hover,
  .pill:hover .pill-label-hover,
  .pill:focus-visible .pill-label-hover {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-pill:active,
.pill:active,
.profile-contact:active,
.resume-link:active,
.resume-close:active {
  transform: translateY(1px) scale(0.97);
}

.section-label {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 14px;
}

.section-label h2 {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-weight: 400;
  font-size: 42px;
  line-height: 1;
  letter-spacing: 0;
}

.section-label p {
  max-width: 30rem;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  text-align: left;
}

.home-masonry {
  height: clamp(620px, calc(100vh - 118px), 760px);
  min-height: 0;
  width: 100%;
  margin: clamp(18px, 3vh, 34px) auto 0;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr 0.98fr;
  grid-template-rows: minmax(0, 0.72fr) minmax(0, 1.28fr);
  grid-template-areas:
    "about commercial strategy"
    "motion commercial right";
  gap: clamp(10px, 1.2vw, 14px);
  align-items: stretch;
  padding: 2px 0 14px;
}

.masonry-card {
  min-height: 0;
  animation-delay: var(--delay, 0ms);
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --magic-intensity: 0;
  --magic-color: 216, 255, 99;
}

.masonry-card .glow-shell {
  height: 100%;
}

.about-tile {
  grid-area: about;
}

.profile-tile {
  --profile-pointer-x: 50%;
  --profile-pointer-y: 50%;
  --profile-opacity: 0;
}

.commercial-tile {
  grid-area: commercial;
}

.motion-tile {
  grid-area: motion;
}

.strategy-tile {
  grid-area: strategy;
}

.right-stack {
  grid-area: right;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.2vw, 14px);
}

.right-stack .masonry-card {
  min-height: 0;
}

.right-stack .glow-shell {
  justify-content: space-between;
}

.right-stack .category-tile .tile-content {
  flex: 0;
  margin-top: auto;
  padding-top: 8px;
  align-content: end;
}

.character-tile {
  --magic-color: 255, 122, 167;
}

.experiment-tile {
  --magic-color: 190, 142, 255;
}

.about-tile {
  --magic-color: 216, 255, 99;
}

.commercial-tile {
  --magic-color: 216, 255, 99;
}

.motion-tile {
  --magic-color: 105, 184, 255;
}

.tile-content {
  padding: clamp(10px, 1vw, 13px);
  display: grid;
  gap: 6px;
}

.category-tile .glow-shell {
  display: flex;
  flex-direction: column;
}

.category-tile .tile-content {
  flex: 1;
  align-content: start;
}

.about-content {
  height: 100%;
  align-content: space-between;
}

.profile-card-wrapper {
  position: relative;
  height: 100%;
  perspective: 700px;
  touch-action: none;
  border-radius: inherit;
}

.profile-behind {
  position: absolute;
  inset: -18px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at var(--profile-pointer-x) var(--profile-pointer-y),
      rgba(236, 89, 161, 0.72),
      rgba(166, 139, 255, 0.46) 34%,
      transparent 62%
    );
  filter: blur(22px) saturate(1.25);
  opacity: calc(0.9 * var(--profile-opacity));
  transition: opacity 240ms ease;
}

.perf-lite .profile-behind {
  inset: -10px;
  filter: none;
  opacity: calc(0.3 * var(--profile-opacity));
}

.profile-shell {
  position: relative;
  z-index: 1;
  height: 100%;
  border-radius: inherit;
  transform-style: preserve-3d;
  will-change: transform;
}

.profile-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(8px, 1vw, 12px);
  padding: clamp(14px, 1.6vw, 20px);
  align-content: stretch;
  justify-items: center;
  background:
    radial-gradient(circle at var(--profile-pointer-x) var(--profile-pointer-y), rgba(255, 138, 194, 0.58), rgba(189, 156, 255, 0.28) 20%, transparent 45%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 248, 0.92) 48%, rgba(242, 239, 255, 0.94));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 56px rgba(155, 100, 135, 0.18);
}

.profile-card::before,
.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.profile-card::before {
  background:
    radial-gradient(circle at 22% 28%, rgba(125, 190, 255, 0.12), transparent 18%),
    radial-gradient(circle at 78% 48%, rgba(125, 190, 255, 0.08), transparent 16%),
    radial-gradient(circle at 38% 76%, rgba(216, 255, 99, 0.08), transparent 18%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 10px, transparent 10px 22px);
  opacity: 0.38;
  mix-blend-mode: screen;
}

.perf-lite .profile-card::before {
  opacity: 0.24;
  mix-blend-mode: normal;
}

.profile-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 18%),
    radial-gradient(circle at 50% 55%, transparent 0 48%, rgba(0, 0, 0, 0.14) 100%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 6px);
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

.perf-lite .profile-card::after {
  opacity: 0.12;
  mix-blend-mode: normal;
}

.profile-shine,
.profile-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.profile-shine {
  opacity: calc(0.16 + var(--profile-opacity) * 0.46);
  background:
    repeating-linear-gradient(
      115deg,
      transparent 0 7%,
      rgba(255, 255, 255, 0.09) 8% 9%,
      transparent 10% 16%
    ),
    radial-gradient(circle at var(--profile-pointer-x) var(--profile-pointer-y), rgba(216, 255, 99, 0.34), transparent 28%);
  mix-blend-mode: color-dodge;
}

.perf-lite .profile-shine {
  opacity: calc(0.1 + var(--profile-opacity) * 0.28);
  mix-blend-mode: screen;
}

.profile-glare {
  opacity: calc(0.12 + var(--profile-opacity) * 0.62);
  background: radial-gradient(
    circle at var(--profile-pointer-x) var(--profile-pointer-y),
    rgba(255, 220, 238, 0.7),
    rgba(238, 105, 174, 0.3) 20%,
    transparent 46%
  );
  mix-blend-mode: soft-light;
}

.perf-lite .profile-glare {
  opacity: calc(0.12 + var(--profile-opacity) * 0.2);
  mix-blend-mode: normal;
}

.profile-copy,
.profile-user-info {
  position: relative;
  z-index: 2;
}

.profile-copy {
  order: 1;
}

.profile-copy {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  text-align: center;
  padding-top: 2px;
}

.profile-copy h1 {
  margin-top: 2px;
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 0.92;
  letter-spacing: 0;
  font-weight: 400;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.12);
}

.profile-copy p {
  margin-top: 4px;
  margin-right: auto;
  margin-left: auto;
  max-width: 42rem;
  color: rgba(245, 241, 234, 0.8);
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.profile-contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin-top: 12px;
  color: rgba(67, 46, 76, .72);
  font-size: clamp(10px, .9vw, 12px);
  line-height: 1.5;
}

.profile-contact-line button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 180ms ease;
}

.profile-contact-line button:hover,
.profile-contact-line button:focus-visible { color: var(--accent); }

.profile-user-info {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 16, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.perf-lite .profile-user-info {
  background: rgba(10, 10, 16, 0.48);
  backdrop-filter: none;
}

.profile-user-details {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-handle {
  color: rgba(245, 241, 234, 0.92);
  font-size: 11px;
  line-height: 1.1;
}

.profile-status {
  color: var(--muted-soft);
  font-size: 10px;
  line-height: 1.2;
}

.profile-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: auto;
}

.profile-contact {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.9);
  color: #11130f;
  font-size: 11px;
  font-weight: 700;
  pointer-events: auto;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.profile-contact:hover {
  transform: translateY(-1px);
  background: var(--accent);
}

.profile-contact:focus-visible,
.resume-link:focus-visible,
.resume-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.about-content h1 {
  margin-top: 6px;
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: clamp(28px, 3.1vw, 36px);
  line-height: 0.96;
  letter-spacing: 0;
  font-weight: 400;
}

.compact-avatar {
  width: clamp(50px, 5.6vw, 66px);
  aspect-ratio: 1;
  border-radius: 18px;
  font-size: 25px;
}

.tile-media {
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    color-mix(in srgb, var(--accent) 16%, #151019);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.commercial-tile .tile-media {
  height: auto;
}

.landscape-preview {
  height: auto;
  aspect-ratio: 16 / 9;
}

.square-preview {
  width: min(64%, 230px);
  height: auto;
  aspect-ratio: 1 / 1;
  margin: clamp(10px, 1.3vw, 16px) auto 0;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experiment-tile .landscape-preview {
  width: min(92%, 360px);
  aspect-ratio: 16 / 9;
  margin: clamp(10px, 1.3vw, 16px) auto 0;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experiment-tile .ai-video-preview {
  width: min(56%, 250px);
  aspect-ratio: 9 / 16;
  margin: clamp(10px, 1.3vw, 16px) auto 0;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.experiment-tile .ai-video-preview video {
  object-fit: cover;
  background: transparent;
}

.right-stack .square-preview {
  width: min(92%, 360px);
  aspect-ratio: 16 / 9;
}

.vertical-preview {
  width: min(56%, 260px);
  aspect-ratio: 9 / 16;
  margin: clamp(10px, 1.3vw, 16px) auto 0;
  border-radius: calc(var(--radius) - 6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.commercial-tile .vertical-preview {
  width: min(74%, 380px);
}

.motion-tile .vertical-preview {
  width: min(68%, 300px);
  background: #dbeeff;
}

.motion-tile .vertical-preview video {
  object-fit: contain;
  transform: scale(1);
}

.tile-media video {
  object-fit: contain;
  object-position: center;
  background: transparent;
  transform: scale(1);
  transition: filter 520ms ease;
}

.tile-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Homepage cover for the Zebra case: a content-system map rather than a video still. */
.zebra-system-cover {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 250, 237, .96) 0 17%, rgba(255, 240, 224, .74) 18% 27%, transparent 28%),
    linear-gradient(135deg, #fffdf8, #fff5ed 55%, #fff0e7);
  color: #432e3a;
  font-family: inherit;
}

.zebra-system-cover::before,
.zebra-system-cover::after {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  content: "";
}

.zebra-system-cover::before {
  width: 8px;
  height: 8px;
  left: 13%;
  bottom: 16%;
  background: #ff7a43;
  box-shadow: 230px -66px 0 #ffa45c, 345px 48px 0 #ffbd7e, 55px -128px 0 #ffc098;
}

.zebra-system-cover::after {
  width: 112%;
  height: 124%;
  top: -22%;
  left: -6%;
  border: 1px solid rgba(231, 132, 82, .22);
  transform: rotate(-6deg);
  animation: zebra-orbit-drift 18s linear infinite;
}

.zebra-system-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(228, 124, 74, .42);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-6deg);
}

.orbit-one { width: 84%; height: 62%; animation: zebra-orbit-spin 16s linear infinite; }
.orbit-two { width: 68%; height: 86%; opacity: .66; transform: translate(-50%, -50%) rotate(72deg); animation: zebra-orbit-spin-reverse 22s linear infinite; }

.zebra-system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: clamp(94px, 18%, 128px);
  aspect-ratio: 1.58 / 1;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7b2b, #ff4f16);
  color: #fff;
  box-shadow: 0 12px 22px rgba(210, 88, 35, .2);
  text-align: center;
  transform: translate(-50%, -50%);
  animation: zebra-core-breathe 3.8s ease-in-out infinite;
}

.zebra-system-core b { font-size: clamp(16px, 2.3vw, 23px); line-height: 1; letter-spacing: -.06em; }
.zebra-system-core small { margin-top: 5px; font-size: clamp(8px, 1.1vw, 11px); letter-spacing: .08em; opacity: .9; }

.zebra-system-node {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 6px;
  align-items: center;
  min-width: 88px;
  color: #3f3435;
  line-height: 1.05;
}

.zebra-system-node i {
  display: grid;
  grid-row: span 2;
  width: clamp(22px, 3vw, 31px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(166, 100, 61, .14);
  color: #ef6f38;
  font-size: clamp(13px, 1.8vw, 19px);
  font-style: normal;
}

.zebra-system-node strong { font-size: clamp(10px, 1.4vw, 14px); letter-spacing: -.04em; white-space: nowrap; }
.zebra-system-node small { margin-top: 2px; color: rgba(94, 62, 51, .65); font-size: clamp(7px, .9vw, 9px); white-space: nowrap; }
.node-story { top: 14%; left: 12%; animation: zebra-node-float 4.8s ease-in-out infinite; }
.node-art { top: 13%; right: 9%; animation: zebra-node-float 5.4s ease-in-out -1.2s infinite; }
.node-live { bottom: 13%; left: 12%; animation: zebra-node-float 5.1s ease-in-out -2.3s infinite; }
.node-production { right: 8%; bottom: 14%; animation: zebra-node-float 4.6s ease-in-out -3s infinite; }
.node-art i { color: #bf76b2; }
.node-live i { color: #4f8ed7; }
.node-production i { color: #dd9d30; }

/* The Zebra map is intentionally a portrait 9:16 object inside the homepage card. */
.right-stack .character-tile .square-preview {
  width: min(54%, 250px);
  aspect-ratio: 9 / 16;
}

.character-tile .zebra-system-cover::after {
  width: 146%;
  height: 86%;
  top: 7%;
  left: -23%;
}

.character-tile .orbit-one { width: 86%; height: 62%; }
.character-tile .orbit-two { width: 64%; height: 82%; }
.character-tile .zebra-system-core { width: clamp(88px, 58%, 126px); }
.character-tile .zebra-system-core b { font-size: clamp(14px, 3.2vw, 19px); white-space: nowrap; }
.character-tile .zebra-system-core small { font-size: clamp(8px, 1.4vw, 10px); }
.character-tile .zebra-system-node { min-width: 72px; }
.character-tile .zebra-system-node small { font-size: 7px; }
.character-tile .node-story { top: 9%; left: 8%; }
.character-tile .node-art { top: 29%; right: 3%; }
.character-tile .node-live { bottom: 28%; left: 5%; }
.character-tile .node-production { right: 3%; bottom: 9%; }

@keyframes zebra-orbit-spin {
  from { transform: translate(-50%, -50%) rotate(-6deg); }
  to { transform: translate(-50%, -50%) rotate(354deg); }
}

@keyframes zebra-orbit-spin-reverse {
  from { transform: translate(-50%, -50%) rotate(72deg); }
  to { transform: translate(-50%, -50%) rotate(-288deg); }
}

@keyframes zebra-orbit-drift {
  0%, 100% { transform: rotate(-6deg) scale(1); }
  50% { transform: rotate(-2deg) scale(1.015); }
}

@keyframes zebra-core-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 12px 22px rgba(210, 88, 35, .2); }
  50% { transform: translate(-50%, -50%) scale(1.045); box-shadow: 0 16px 30px rgba(210, 88, 35, .3); }
}

@keyframes zebra-node-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 720px) {
  .zebra-system-node { min-width: 73px; column-gap: 4px; }
  .node-story { top: 11%; left: 8%; }
  .node-art { top: 10%; right: 5%; }
  .node-live { bottom: 10%; left: 8%; }
  .node-production { right: 4%; bottom: 11%; }

  .right-stack .character-tile .square-preview { width: min(64%, 250px); }
  .character-tile .zebra-system-node { min-width: 66px; }
  .character-tile .zebra-system-node strong { font-size: 9px; }
  .character-tile .zebra-system-node small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .zebra-system-cover::after,
  .zebra-system-orbit,
  .zebra-system-core,
  .zebra-system-node { animation: none; }
}

/* Homepage portfolio previews share one portrait 9:16 frame. */
.home-masonry .category-tile .tile-media {
  width: min(54%, 260px);
  height: auto;
  aspect-ratio: 9 / 16;
  margin: clamp(10px, 1.3vw, 16px) auto 0;
  border: 2px solid rgba(190, 228, 250, .72);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(149, 183, 206, .12);
}

.home-masonry .category-tile .tile-media img,
.home-masonry .category-tile .tile-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
}

.home-masonry .strategy-tile .strategy-preview video { object-position: center; }

@media (max-width: 720px) {
  .home-masonry .category-tile .tile-media { width: min(58%, 230px); }
}

.right-stack .tile-media video {
  object-fit: contain;
}

.right-stack .experiment-tile .ai-video-preview video {
  object-fit: cover;
}

.masonry-card h3 {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 700;
}

.masonry-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  max-width: 26em;
}

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

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

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

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

.glow-card {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
  isolation: isolate;
  transform: translate3d(0, 0, 0.01px);
}

.glow-card::before,
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.glow-card::before {
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.04) 34%, rgba(255, 255, 255, 0.16));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
}

.glow-card::after {
  inset: -14px;
  opacity: 0.42;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), var(--glow-color, rgba(216, 255, 99, 0.22)), transparent 58%);
  filter: blur(18px);
  z-index: -1;
}

.perf-lite .glow-card::after {
  inset: -6px;
  opacity: 0.22;
  filter: none;
}

.glow-shell {
  position: relative;
  border-radius: inherit;
  overflow: hidden;
  background: var(--card-bg, rgba(20, 16, 26, 0.94));
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.perf-lite .glow-shell {
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34);
}

.masonry-card .glow-shell::before,
.masonry-card .glow-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--magic-intensity);
  transition: opacity 220ms ease;
}

.masonry-card .glow-shell::before {
  background:
    radial-gradient(
      circle 220px at var(--spotlight-x) var(--spotlight-y),
      rgba(var(--magic-color), 0.2),
      rgba(var(--magic-color), 0.08) 26%,
      transparent 68%
  );
  mix-blend-mode: screen;
  z-index: 3;
}

.perf-lite .masonry-card .glow-shell::before {
  opacity: calc(var(--magic-intensity) * 0.7);
  mix-blend-mode: normal;
}

.masonry-card .glow-shell::after {
  padding: 1px;
  background:
    radial-gradient(
      circle 160px at var(--spotlight-x) var(--spotlight-y),
      rgba(var(--magic-color), 0.98),
      rgba(var(--magic-color), 0.32) 38%,
      transparent 72%
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 4;
}

.perf-lite .masonry-card .glow-shell::after {
  opacity: calc(var(--magic-intensity) * 0.7);
}

.masonry-card .tile-content,
.masonry-card .tile-media {
  position: relative;
  z-index: 2;
}

.intro-card {
  padding: 22px;
}

.intro-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.avatar {
  aspect-ratio: 1 / 1.15;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.14), transparent 22%),
    linear-gradient(180deg, rgba(105, 184, 255, 0.72), rgba(42, 52, 85, 0.92));
  display: grid;
  place-items: center;
  font-family: "Instrument Serif", serif;
  font-size: 48px;
  letter-spacing: 0;
  color: #fff;
}

.intro-copy {
  display: grid;
  gap: 12px;
}

.intro-copy h1,
.page-hero h1 {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-weight: 400;
  letter-spacing: 0;
}

.intro-copy h1 {
  font-size: 64px;
  line-height: 0.94;
}

.intro-copy p,
.page-hero p,
.card-copy p,
.footer-copy p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}

.mini-note {
  color: var(--muted-soft);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.category-card .media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #050505;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-card .media video,
.collection-media video,
.hero-media video {
  object-fit: contain;
  background: #050505;
}

.card-copy {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.card-copy h3 {
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(245, 241, 234, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0;
  white-space: nowrap;
}

.card-preview {
  color: rgba(245, 241, 234, 0.76);
  font-size: 11px;
  line-height: 1.35;
}

.card-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: rgba(216, 255, 99, 0.9);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  align-self: end;
  margin-top: auto;
}

.card-meta::after {
  content: "->";
  transform: translateY(-1px);
  transition: transform 180ms ease;
}

.card-link {
  cursor: pointer;
  transform-origin: center;
  will-change: transform;
  transition: filter 240ms ease;
}

.perf-lite .card-link {
  will-change: auto;
  transition: transform 180ms ease;
}

.card-link:hover {
  transform: translateY(-5px) scale(1.018);
  filter: saturate(1.12);
}

.perf-lite .card-link:hover {
  transform: translateY(-3px) scale(1.008);
  filter: none;
}

.card-link:hover .glow-shell {
  border-color: transparent;
}

.card-link:hover .tile-media video {
  filter: saturate(1.12) contrast(1.04);
}

.perf-lite .card-link:hover .tile-media video {
  filter: none;
}

.card-link:hover .card-meta::after {
  transform: translate(4px, -1px);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: 14px;
  align-items: stretch;
  padding-top: 4px;
}

.page-hero-panel {
  padding: 22px;
}

.page-hero h1 {
  font-size: 64px;
  line-height: 0.96;
  margin-bottom: 10px;
}

.page-hero .page-hero-panel p {
  max-width: 36rem;
}

.page-stats {
  display: grid;
  gap: 12px;
  align-content: start;
}

.stat-block {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-block b {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0;
}

.video-collection {
  padding-top: clamp(12px, 2vw, 24px);
}

.sticker-collection {
  padding-top: clamp(28px, 4vw, 52px);
}

.sticker-heading {
  display: grid;
  gap: 4px;
  margin-bottom: clamp(14px, 2vw, 22px);
}

.sticker-heading h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.sticker-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
}

.sticker-item {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  margin: 0;
  padding: clamp(8px, 1.2vw, 14px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: clamp(14px, 1.6vw, 22px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 237, 247, 0.88));
  box-shadow: 0 12px 30px rgba(159, 105, 138, 0.12);
}

.sticker-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.collection-card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.prompt-collection {
  padding-top: 4px;
}

.commercial-stack {
  grid-template-columns: minmax(0, 1fr);
}

.collection-card .glow-shell {
  display: grid;
  align-content: start;
  height: 100%;
}

.collection-related-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.collection-related-link:hover { text-decoration: underline; }

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

.collection-card.wide .glow-shell {
  grid-template-columns: minmax(220px, 380px) minmax(0, 1fr);
  align-items: stretch;
}

.collection-media {
  position: relative;
  background: #050505;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  width: min(100%, 360px);
  max-height: min(72vh, 700px);
  justify-self: center;
  align-self: start;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.collection-media video[data-custom-video] {
  cursor: pointer;
  -webkit-touch-callout: none;
}

.collection-video-controls {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.collection-video-play,
.collection-video-sound {
  position: absolute;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.86);
  color: #fff;
  background: rgba(48, 31, 53, 0.76);
  box-shadow: 0 8px 24px rgba(23, 12, 27, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.collection-video-play {
  top: 50%;
  left: 50%;
  display: grid;
  width: 64px;
  aspect-ratio: 1;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease, transform 180ms ease;
}

.collection-video-play span {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #fff;
}

.collection-media.is-playing .collection-video-play {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.9);
}

.collection-video-sound {
  right: 12px;
  bottom: 12px;
  min-width: 52px;
  padding: 7px 10px;
  border-radius: 999px;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
}

.prompt-card {
  display: grid;
  grid-template-rows: auto;
}

.prompt-shell {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 2vw, 24px);
}

.prompt-copy {
  display: grid;
  gap: 8px;
  padding: 0;
}

.prompt-copy .meta {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prompt-copy h3 {
  font-size: clamp(22px, 2vw, 30px);
}

.prompt-copy p {
  max-width: 56rem;
  color: rgba(245, 241, 234, 0.76);
  font-size: 13px;
  line-height: 1.7;
  font-family: "Bricolage Grotesque", "Noto Sans SC", sans-serif;
}

.prompt-media-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.prompt-media-grid.three-up {
  justify-content: center;
}

.prompt-media {
  flex: 0 0 clamp(210px, 20.5vw, 276px);
  width: clamp(210px, 20.5vw, 276px);
  max-height: none;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: calc(var(--radius) - 6px);
  margin: 0;
}

.prompt-media video {
  object-fit: cover;
}

.portfolio-media {
  width: 100%;
  flex-basis: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  background: transparent;
}

.portfolio-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: initial;
}

.video-shell {
  display: grid;
  place-items: center;
}

.video-shell video,
.video-shell::before,
.video-poster {
  grid-area: 1 / 1;
}

[data-deferred-video-shell]:not(.is-loaded) video {
  opacity: 0;
}

.video-shell:not(.is-loaded):not([data-deferred-video-shell]) video {
  opacity: 0.08;
}

.video-shell::before {
  content: "";
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 34%, rgba(216, 255, 99, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  pointer-events: none;
}

.video-poster {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-shell[data-deferred-video-shell]::before {
  display: none;
}

.video-shell[data-deferred-video-shell]::after {
  display: none;
}

.video-shell.is-loaded::before {
  display: none;
}

.video-shell.is-loaded::after {
  display: none;
}

.video-shell.is-loaded .video-poster {
  display: none;
}

[data-deferred-video-shell] {
  cursor: pointer;
}

.collection-media.landscape {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(68vh, 620px);
}

.portrait-ad-card .glow-shell {
  justify-items: center;
}

.collection-media.portrait-ad-media {
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  max-height: none;
}

.collection-media.portrait-ad-media video {
  object-fit: cover;
  background: transparent;
}

.portrait-ad-card .collection-copy {
  width: min(100%, 360px);
}

.workflow-section {
  padding-top: clamp(28px, 4vw, 48px);
}

.workflow-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 18px;
}

.workflow-heading h2 {
  font-family: "Instrument Serif", "Noto Serif SC", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0;
}

.workflow-heading p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.workflow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding: 18px 8px 10px;
  scrollbar-width: thin;
  isolation: isolate;
}

.workflow-track::before,
.workflow-track::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 34px;
  height: 1px;
  pointer-events: none;
}

.workflow-track::before {
  background: linear-gradient(90deg, rgba(216, 255, 99, 0.62), rgba(105, 184, 255, 0.46), rgba(255, 122, 167, 0.38));
  z-index: 0;
}

.workflow-track::after {
  width: min(210px, 28%);
  right: auto;
  background: linear-gradient(90deg, transparent, rgba(216, 255, 99, 0.12), rgba(105, 184, 255, 0.95), rgba(255, 255, 255, 0.82), transparent);
  filter: blur(0.3px) drop-shadow(0 0 10px rgba(105, 184, 255, 0.58));
  transform: translateX(-110%);
  animation: workflow-flow 4.8s linear infinite;
  z-index: 1;
}

.workflow-node {
  position: relative;
  z-index: 2;
  min-width: 150px;
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 38px 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 30% 0%, rgba(216, 255, 99, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translateZ(0);
  transform-origin: center;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
  will-change: transform;
}

.workflow-node:hover {
  z-index: 3;
  transform: translateY(-5px) scale(1.045) translateZ(0);
  border-color: rgba(216, 255, 99, 0.36);
  background:
    radial-gradient(circle at 30% 0%, rgba(216, 255, 99, 0.16), transparent 38%),
    rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 40px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(216, 255, 99, 0.08);
}

.workflow-index {
  position: absolute;
  top: 9px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(216, 255, 99, 0.92);
  color: #11130f;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 0 24px rgba(216, 255, 99, 0.18);
}

.workflow-tag {
  color: rgba(216, 255, 99, 0.72);
  font-size: 10px;
  line-height: 1.2;
}

.workflow-node h3 {
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0;
}

.workflow-node p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
}

@keyframes workflow-flow {
  from {
    transform: translateX(-110%);
  }

  to {
    transform: translateX(calc(100vw + 110%));
  }
}

.youtube-card .glow-shell {
  grid-template-columns: 1fr;
  align-items: start;
}

.youtube-card {
  width: min(100%, 980px);
  margin: 0 auto;
}

.youtube-card .collection-media.landscape {
  width: 100%;
  max-height: min(64vh, 620px);
  justify-self: stretch;
}

.youtube-card .collection-copy {
  max-width: none;
  align-content: start;
  padding: clamp(14px, 1.8vw, 22px) clamp(16px, 2.2vw, 28px) clamp(18px, 2.2vw, 28px);
}

.youtube-card .collection-copy h3 {
  font-size: clamp(24px, 2.1vw, 32px);
}

.youtube-card .collection-copy p {
  max-width: 44rem;
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 1.65;
}

.collection-copy {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.collection-copy h3 {
  font-size: 24px;
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 700;
}

.collection-copy .meta {
  color: var(--muted-soft);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer {
  padding: 16px 0 8px;
  display: flex;
  justify-content: flex-start;
  margin-top: auto;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-soft);
  font-size: 12px;
  letter-spacing: 0;
}

.footer-contact {
  display: grid;
  gap: 10px;
  min-width: min(100%, 320px);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.contact-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 14px;
}

.contact-list li span:last-child {
  color: var(--text);
  text-align: right;
}

.js-animations .reveal {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
}

.reveal,
.js-animations .reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 商业案例页应当在本地 file:// 预览或动画脚本加载失败时保持可见。 */
.commercial-page .reveal {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.resume-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 28px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.resume-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.resume-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 8, 0.74);
  backdrop-filter: blur(18px);
}

.resume-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  height: min(92vh, 860px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 16% 0%, rgba(216, 255, 99, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(25, 22, 31, 0.96), rgba(11, 9, 14, 0.96));
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.58);
}

.resume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.resume-header h2 {
  margin-top: 2px;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.1;
}

.resume-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.resume-link,
.resume-close {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.resume-close {
  background: rgba(245, 241, 234, 0.92);
  color: #11130f;
}

.resume-preview {
  width: 100%;
  height: 100%;
  overflow: auto;
  padding: clamp(10px, 2vw, 18px);
  background: #f7f4ef;
  display: grid;
  gap: 14px;
  align-content: start;
  -webkit-overflow-scrolling: touch;
}

.resume-preview img {
  width: min(100%, 860px);
  height: auto;
  justify-self: center;
  display: block;
  background: #fff;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 40;
  transform: translate(-50%, 18px);
  opacity: 0;
  visibility: hidden;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(245, 241, 234, 0.94);
  color: #11130f;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 1080px) {
  .site-header,
  .page-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .site-header {
    display: flex;
    flex-direction: column;
  }

  .site-header.compact {
    display: flex;
  }

  .page-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .lede,
  .section-label p {
    text-align: left;
  }

  .card-grid.home-grid,
  .card-grid.collection-grid,
  .collection-grid {
    grid-template-columns: 1fr;
  }

  .home-masonry {
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "about commercial"
      "strategy commercial"
      "motion right";
  }

  .right-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .collection-card.wide {
    grid-column: span 1;
  }

  .collection-card.wide .glow-shell {
    grid-template-columns: 1fr;
  }

  .prompt-media-grid,
  .prompt-media-grid.three-up {
    align-items: center;
  }

  .vertical-preview {
    width: min(66%, 300px);
  }

  .commercial-tile .vertical-preview {
    width: min(72%, 340px);
  }

  .motion-tile .vertical-preview {
    width: min(70%, 300px);
  }

  .right-stack .square-preview,
  .experiment-tile .landscape-preview,
  .experiment-tile .ai-video-preview {
    width: min(90%, 360px);
  }
}

@media (max-width: 720px) {
  .page {
    padding: 0 12px 18px;
  }

  .intro-layout {
    grid-template-columns: 1fr;
  }

  .home-masonry {
    grid-template-columns: 1fr;
    grid-template-areas:
      "about"
      "commercial"
      "strategy"
      "motion"
      "right";
  }

  .right-stack {
    grid-template-columns: 1fr;
  }

  .tile-media,
  .commercial-tile .tile-media,
  .landscape-preview,
  .square-preview {
    height: auto;
  }

  .vertical-preview {
    width: min(74%, 260px);
  }

  .commercial-tile .vertical-preview,
  .motion-tile .vertical-preview {
    width: min(76%, 280px);
  }

  .right-stack .square-preview,
  .experiment-tile .landscape-preview,
  .experiment-tile .ai-video-preview {
    width: min(92%, 340px);
  }

  .site-title {
    font-size: 30px;
  }

  .card-copy h3,
  .collection-copy h3 {
    font-size: 22px;
  }

  .prompt-media {
    flex-basis: 100%;
    width: 100%;
  }

  .workflow-track {
    grid-template-columns: 1fr;
    overflow-x: visible;
    gap: 10px;
    padding-left: 0;
    padding-right: 0;
  }

  .workflow-track::before {
    top: 14px;
    bottom: 4px;
    left: 16px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(216, 255, 99, 0.62), rgba(105, 184, 255, 0.46), rgba(255, 122, 167, 0.38));
  }

  .workflow-track::after {
    top: 0;
    bottom: auto;
    left: 16px;
    right: auto;
    width: 1px;
    height: 124px;
    background: linear-gradient(180deg, transparent, rgba(216, 255, 99, 0.12), rgba(105, 184, 255, 0.95), rgba(255, 255, 255, 0.82), transparent);
    transform: translateY(-110%);
    animation-name: workflow-flow-vertical;
  }

  .workflow-node {
    min-width: 0;
    padding: 12px 12px 12px 48px;
  }

  .workflow-index {
    left: 2px;
  }

  .profile-user-info,
  .resume-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-actions,
  .resume-actions {
    width: 100%;
  }

  .profile-contact {
    flex: 1;
  }

  .profile-copy h1 {
    font-size: clamp(24px, 7.2vw, 32px);
  }

  .profile-user-info {
    gap: 6px;
    padding: 8px;
  }

  .profile-actions {
    gap: 4px;
  }

  .profile-contact {
    min-height: 30px;
    padding: 0 10px;
  }

  .resume-dialog {
    height: 88vh;
    border-radius: 22px;
  }
}

@keyframes workflow-flow-vertical {
  from {
    transform: translateY(-110%);
  }

  to {
    transform: translateY(calc(100% + 110%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .workflow-track::after {
    animation: none;
    opacity: 0.28;
    transform: none;
  }

  .workflow-node,
  .workflow-node:hover {
    transition: none;
    transform: none;
  }
}

/* White feminine theme overrides for every portfolio page. */
.glow-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 244, 249, 0.84)) !important;
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 48px rgba(159, 105, 138, 0.14);
  backdrop-filter: blur(16px);
}

.glow-card::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(234, 188, 214, 0.38) 45%, rgba(196, 186, 255, 0.5));
  opacity: 0.86;
}

.glow-card::after {
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(232, 112, 177, 0.52), rgba(184, 148, 255, 0.24) 36%, transparent 64%);
  opacity: 0.48;
}

.glow-card:hover::after {
  opacity: 0.9;
  filter: blur(24px) saturate(1.25);
}

.home-masonry .glow-card:nth-child(2) .glow-shell,
.video-collection .collection-card:nth-child(3n + 1) .glow-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 235, 244, 0.9)) !important;
}

.home-masonry .glow-card:nth-child(3) .glow-shell,
.video-collection .collection-card:nth-child(3n + 2) .glow-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 235, 255, 0.9)) !important;
}

.right-stack .glow-card:nth-child(1) .glow-shell,
.video-collection .collection-card:nth-child(3n) .glow-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 239, 229, 0.9)) !important;
}

.home-masonry .glow-card:nth-child(5) .glow-shell {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(235, 243, 255, 0.9)) !important;
}

/* Carry the hover color into the white card surface, not only its outer glow. */
.glow-card:hover .glow-shell {
  background:
    radial-gradient(circle 240px at var(--glow-x, 50%) var(--glow-y, 50%), rgba(237, 112, 181, 0.38), rgba(185, 151, 255, 0.2) 34%, transparent 68%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 237, 247, 0.9)) !important;
}

.profile-card::before {
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 174, 207, 0.36), transparent 22%),
    radial-gradient(circle at 78% 48%, rgba(193, 182, 255, 0.3), transparent 22%),
    repeating-linear-gradient(135deg, rgba(170, 113, 148, 0.055) 0 9px, transparent 9px 21px);
  opacity: 0.68;
  mix-blend-mode: multiply;
}

.profile-shine {
  background:
    repeating-linear-gradient(115deg, transparent 0 7%, rgba(255, 255, 255, 0.6) 8% 9%, transparent 10% 16%),
    radial-gradient(circle at var(--profile-pointer-x) var(--profile-pointer-y), rgba(239, 148, 190, 0.3), transparent 30%);
  mix-blend-mode: soft-light;
}

.eyebrow,
.card-meta,
.profile-handle,
.section-label h2 + p strong { color: var(--accent); }

.nav-pill,
.pill,
.back-pill,
.profile-contact,
.resume-link,
.resume-close {
  border-color: rgba(205, 118, 160, 0.22);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
}

.page-nav .nav-pill.is-current,
.back-pill {
  border-color: rgba(215, 120, 165, 0.42);
  background: rgba(255, 224, 237, 0.78);
}

.nav-pill:hover,
.pill:hover,
.profile-contact:hover,
.resume-link:hover,
.resume-close:hover {
  border-color: rgba(215, 120, 165, 0.46);
  background: rgba(255, 229, 241, 0.9);
}

.pill-fill { background: linear-gradient(135deg, #f6b1cc, #c7b9f6); }
.pill-label-hover { color: #4d2b43; }

.collection-media,
.tile-media { box-shadow: 0 10px 26px rgba(129, 91, 120, 0.12); }

/* AI workflow: align the process diagram with the portfolio's pink-lilac palette. */
.workflow-track::before {
  background: linear-gradient(90deg, rgba(237, 132, 181, 0.7), rgba(190, 160, 246, 0.66), rgba(255, 188, 157, 0.62));
}

.workflow-track::after {
  background: linear-gradient(90deg, transparent, rgba(237, 132, 181, 0.16), rgba(190, 160, 246, 0.96), rgba(255, 255, 255, 0.9), transparent);
  filter: blur(0.3px) drop-shadow(0 0 10px rgba(190, 160, 246, 0.62));
}

.workflow-node {
  border-color: rgba(205, 118, 160, 0.2);
  background:
    radial-gradient(circle at 30% 0%, rgba(237, 132, 181, 0.13), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(249, 240, 255, 0.54));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 26px rgba(151, 102, 134, 0.08);
}

.workflow-node:hover {
  border-color: rgba(205, 118, 160, 0.46);
  background:
    radial-gradient(circle at 30% 0%, rgba(190, 160, 246, 0.24), transparent 40%),
    linear-gradient(145deg, rgba(255, 244, 250, 0.88), rgba(241, 235, 255, 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 40px rgba(151, 102, 134, 0.16),
    0 0 28px rgba(205, 118, 160, 0.12);
}

.workflow-index {
  background: linear-gradient(135deg, #f4a9c8, #c9b7f4);
  color: #4d2b43;
  box-shadow: 0 0 24px rgba(205, 118, 160, 0.2);
}

.workflow-tag { color: #c86698; }

@media (max-width: 720px) {
  .workflow-track::before {
    background: linear-gradient(180deg, rgba(237, 132, 181, 0.7), rgba(190, 160, 246, 0.66), rgba(255, 188, 157, 0.62));
  }

  .workflow-track::after {
    background: linear-gradient(180deg, transparent, rgba(237, 132, 181, 0.16), rgba(190, 160, 246, 0.96), rgba(255, 255, 255, 0.9), transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page::before,
  .page::after { animation: none; }
}

/* Zebra case: keep the two subjects in one coherent content-IP narrative. */
.zebra-hero-expanded .zebra-hero-media {
  min-height: 340px;
}

.zebra-system-pillars {
  margin-top: 26px;
}

.zebra-discipline-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zebra-discipline-card {
  overflow: hidden;
  border: 1px solid var(--zebra-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
}

.zebra-discipline-card figure {
  overflow: hidden;
  margin: 0;
  background: #efe6ec;
}

.zebra-discipline-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform .5s ease;
}

.zebra-discipline-card:hover img {
  transform: scale(1.025);
}

.zebra-discipline-card > div {
  padding: 22px 22px 24px;
}

.zebra-discipline-card span,
.zebra-character-lineup figcaption span {
  color: var(--zebra-pink);
  font-size: 10px;
  letter-spacing: .12em;
}

.zebra-discipline-card h3 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.1;
  letter-spacing: -.06em;
}

.zebra-discipline-card p {
  color: var(--zebra-muted);
  font-size: 14px;
  line-height: 1.75;
}

.zebra-discipline-card small {
  display: block;
  margin-top: 18px;
  color: var(--zebra-lilac);
  font-size: 12px;
}

.zebra-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 16px;
}

.zebra-role-tags b {
  margin-right: 2px;
  color: var(--zebra-muted);
  font-size: 11px;
  font-weight: 500;
}

.zebra-role-tags i {
  padding: 4px 7px;
  border: 1px solid rgba(221, 109, 155, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--zebra-pink);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .02em;
}

.zebra-art-card small { color: #b47943; }

.zebra-character-lineup {
  overflow: hidden;
  margin: 14px 0 0;
  border: 1px solid var(--zebra-line);
  border-radius: 20px;
  background: #f6f1ed;
}

.zebra-character-lineup img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.zebra-character-lineup figcaption {
  padding: 15px 20px 17px;
  color: var(--zebra-muted);
  font-size: 13px;
  line-height: 1.65;
}

.zebra-character-lineup figcaption span {
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 820px) {
  .zebra-hero-expanded .zebra-hero-media { min-height: 0; }
  .zebra-discipline-grid { grid-template-columns: 1fr; }
  .zebra-character-lineup img { aspect-ratio: 16 / 10; }
}

.zebra-story-live-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 14px;
  margin-top: 14px;
}

.zebra-story-mode,
.zebra-live-ip {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--zebra-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .64);
}

.zebra-story-mode img,
.zebra-live-ip img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.zebra-story-mode img { aspect-ratio: 16 / 10; }
.zebra-live-ip img { aspect-ratio: 16 / 10; }

.zebra-story-mode figcaption,
.zebra-live-ip figcaption {
  padding: 18px 20px 20px;
}

.zebra-story-mode span,
.zebra-live-ip span {
  display: block;
  color: var(--zebra-pink);
  font-size: 10px;
  letter-spacing: .12em;
}

.zebra-live-ip span { color: var(--zebra-lilac); }

.zebra-story-mode strong,
.zebra-live-ip strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.15;
  letter-spacing: -.055em;
}

.zebra-story-mode p,
.zebra-live-ip p {
  margin-top: 9px;
  color: var(--zebra-muted);
  font-size: 13px;
  line-height: 1.72;
}

.zebra-story-mode .zebra-role-tags,
.zebra-live-ip .zebra-role-tags {
  margin-top: 14px;
}

.zebra-video-frame { position: relative; }
.zebra-video-play { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: clamp(72px, 8vw, 104px); aspect-ratio: 1; place-items: center; padding: 0; border: 2px solid rgba(255,255,255,.92); border-radius: 50%; background: rgba(67,46,76,.78); box-shadow: 0 8px 24px rgba(38,20,42,.28); transform: translate(-50%, -50%); cursor: pointer; transition: opacity .2s ease, transform .2s ease, background .2s ease; }
.zebra-video-play:hover { background: rgba(221,109,155,.9); transform: translate(-50%, -50%) scale(1.06); }
.zebra-video-play span { width: 0; height: 0; margin-left: 7px; border-top: 15px solid transparent; border-bottom: 15px solid transparent; border-left: 22px solid #fff; }
.zebra-video.is-playing .zebra-video-play { opacity: 0; pointer-events: none; }

.zebra-video figcaption div { min-width: 0; }

.zebra-video figcaption small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 241, 248, .72);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 820px) {
  .zebra-story-live-grid { grid-template-columns: 1fr; }
}

/* Homepage layout: equal portrait previews, with cards sized by their content. */
.home-masonry .category-tile .tile-media,
.home-masonry .category-tile .vertical-preview,
.home-masonry .category-tile .strategy-preview,
.home-masonry .right-stack .category-tile .ai-video-preview,
.home-masonry .right-stack .character-tile .square-preview {
  width: 230px !important;
  height: 409px !important;
  min-height: 409px !important;
  flex: 0 0 409px !important;
  aspect-ratio: auto !important;
  margin: 16px auto 0 !important;
  overflow: hidden;
  border: 2px solid rgba(190, 228, 250, .72) !important;
  border-radius: 30px !important;
  background: #fff !important;
  box-shadow: 0 14px 32px rgba(149, 183, 206, .12);
}

.home-masonry .category-tile .tile-media img,
.home-masonry .category-tile .tile-media video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  background: #fff !important;
}

@media (max-width: 720px) {
  .home-masonry .category-tile .tile-media,
  .home-masonry .category-tile .vertical-preview,
  .home-masonry .category-tile .strategy-preview,
  .home-masonry .right-stack .category-tile .ai-video-preview,
  .home-masonry .right-stack .character-tile .square-preview {
    width: min(calc(100% - 32px), 230px) !important;
    height: 409px !important;
    min-height: 409px !important;
    flex-basis: 409px !important;
  }
}

/* A normal grid avoids the former cross-row masonry gaps and clipping. */
@media (min-width: 721px) {
  .home-masonry {
    height: auto;
    min-height: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: none;
    align-items: start;
  }

  .home-masonry > .masonry-card,
  .home-masonry > .category-tile,
  .home-masonry > .right-stack,
  .right-stack .category-tile {
    grid-area: auto !important;
  }

  .home-masonry > .right-stack {
    display: contents;
  }

  .home-masonry > .category-tile,
  .right-stack .category-tile,
  .masonry-card .glow-shell {
    height: auto;
    min-height: 0;
  }

  .home-masonry .category-tile .tile-content {
    flex: 0 0 auto;
  }

  .home-masonry .about-tile {
    align-self: start;
  }
}

/* The profile tile must size to its copy, not to a neighbour's portrait preview. */
.home-masonry .about-tile,
.home-masonry .about-tile .glow-shell,
.home-masonry .about-tile .profile-card-wrapper,
.home-masonry .about-tile .profile-shell,
.home-masonry .about-tile .profile-card {
  height:auto !important;
  min-height:0 !important;
}
.home-masonry .about-tile { align-self:start !important; }
.home-masonry .about-tile .profile-card { display:block; padding:clamp(20px,2.2vw,30px); }
.home-masonry .about-tile .profile-copy { display:block; padding:0; }

/* Each column is intentionally independent: a tall portrait preview can never
   create a blank row beneath a shorter card in another column. */
.home-masonry {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:start;
  height:auto;
  min-height:0;
  grid-template-rows:none;
  grid-template-areas:none;
}
.home-column {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:stretch;
  gap:clamp(10px,1.2vw,14px);
}
.home-column .masonry-card,
.home-column .category-tile,
.home-column .glow-shell {
  height:auto !important;
  min-height:0;
  grid-area:auto !important;
}
.home-column .category-tile .tile-content { flex:0 0 auto; }

/* Homepage: a centered identity card above a deliberately aligned project grid. */
.home-masonry {
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-template-rows:auto auto auto;
  gap:clamp(14px,1.5vw,20px);
  align-items:start;
}
.home-column { display:contents; }
.home-masonry .about-tile { grid-column:2; grid-row:1; align-self:start !important; }
.home-masonry .commercial-tile { grid-column:1; grid-row:2; }
.home-masonry .strategy-tile { grid-column:2; grid-row:2; }
.home-masonry .motion-tile { grid-column:3; grid-row:2; }
.home-masonry .experiment-tile { grid-column:1; grid-row:3; }
.home-masonry .character-tile { grid-column:2; grid-row:3; }
.home-masonry .category-tile { align-self:stretch; }
.home-masonry .category-tile .glow-shell { height:100% !important; }
/* Kept as an explicit duplicate override for file-preview browsers with stale earlier rules. */
@media (min-width:721px) {
  .home-masonry {
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:auto auto auto;
    gap:clamp(14px,1.5vw,20px);
    align-items:start;
  }
  .home-column { display:contents; }
  .home-masonry .about-tile { grid-column:2; grid-row:1; align-self:start !important; }
  .home-masonry .commercial-tile { grid-column:1; grid-row:2; }
  .home-masonry .strategy-tile { grid-column:2; grid-row:2; }
  .home-masonry .motion-tile { grid-column:3; grid-row:2; }
  .home-masonry .experiment-tile { grid-column:1; grid-row:3; }
  .home-masonry .character-tile { grid-column:2; grid-row:3; }
  .home-masonry .category-tile { align-self:stretch; }
  .home-masonry .category-tile .glow-shell { height:100% !important; }
}
@media (max-width:720px) {
  .home-masonry { grid-template-columns:1fr; grid-template-rows:none; grid-template-areas:none; }
  .home-column { display:flex; }
  .home-masonry .masonry-card { grid-column:auto; grid-row:auto; }
}

/* Responsive homepage grid: readable on a phone, calm on a narrow desktop, aligned on a wide screen. */
.home-grid-static {
  display:grid;
  width:100%;
  margin:clamp(18px,3vh,34px) auto 0;
  grid-template-columns:1fr;
  gap:14px;
  align-items:start;
}
.home-grid-static .masonry-card,
.home-grid-static .category-tile {
  min-width:0;
  min-height:0;
  grid-area:auto !important;
}
.home-grid-static .glow-shell { height:auto; min-height:0; }
.home-grid-static .about-tile { width:100%; order:-2; }
.home-grid-static .about-tile .profile-card-wrapper,
.home-grid-static .about-tile .profile-shell,
.home-grid-static .about-tile .profile-card { height:auto; min-height:0; }
.home-grid-static .about-tile .profile-card { display:block; padding:clamp(20px,2.4vw,30px); }
.home-grid-static .about-tile .profile-copy { display:block; padding:0; }
.home-grid-static .category-tile .tile-content { flex:0 0 auto; }
.home-grid-static .character-tile { order:-1; }
/* The Zebra content-system cover reads as a landscape map on the homepage. */
.home-grid-static .character-tile .square-preview {
  width:min(88%,640px);
  aspect-ratio:16 / 9;
  margin:clamp(10px,1.3vw,16px) auto 0;
}
.home-grid-static .character-tile .zebra-system-cover::after {
  width:112%;
  height:124%;
  top:-22%;
  left:-6%;
}
.home-grid-static .character-tile .orbit-one { width:84%; height:62%; }
.home-grid-static .character-tile .orbit-two { width:68%; height:86%; }
.home-grid-static .character-tile .zebra-system-core { width:clamp(94px,18%,128px); }
.home-grid-static .character-tile .zebra-system-core b { font-size:clamp(16px,2.3vw,23px); }
.home-grid-static .character-tile .zebra-system-node { min-width:88px; }
.home-grid-static .character-tile .zebra-system-node small { font-size:clamp(7px,.9vw,9px); }
.home-grid-static .character-tile .node-story { top:14%; left:12%; }
.home-grid-static .character-tile .node-art { top:13%; right:9%; }
.home-grid-static .character-tile .node-live { bottom:13%; left:12%; }
.home-grid-static .character-tile .node-production { right:8%; bottom:14%; }
@media (min-width:721px) and (max-width:1100px) {
  .home-grid-static { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
  .home-grid-static .about-tile { grid-column:1 / -1; justify-self:center; width:min(100%,480px); }
  .home-grid-static .character-tile { grid-column:1 / -1; }
}
@media (min-width:1101px) {
  .home-grid-static {
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-template-rows:auto auto auto;
    gap:20px;
  }
  /* Lead with the Zebra content-IP system, then place the supporting work beneath it. */
  .home-grid-static .character-tile { grid-column:1 / span 2; grid-row:1; order:0; }
  .home-grid-static .about-tile { grid-column:3; grid-row:1; justify-self:stretch; width:100%; }
  .home-grid-static .motion-tile { grid-column:1; grid-row:2; }
  .home-grid-static .commercial-tile { grid-column:2; grid-row:2; }
  .home-grid-static .experiment-tile { grid-column:1; grid-row:3; }
  .home-grid-static .category-tile { align-self:start; }
  .home-grid-static .category-tile .glow-shell { height:auto; }

  /* AI stays portrait; the robot campaign uses its original cinematic 16:9 cover. */
  .home-grid-static .experiment-tile .ai-video-preview {
    width:min(56%,250px);
    height:auto;
    aspect-ratio:9 / 16;
    margin:clamp(10px,1.3vw,16px) auto 0;
    border-radius:calc(var(--radius) - 6px);
    overflow:hidden;
    background:transparent;
  }
  .home-grid-static .experiment-tile .ai-video-preview video {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    background:transparent;
  }
  .home-grid-static .strategy-tile .strategy-preview {
    width:min(92%,360px);
    aspect-ratio:16 / 9;
    height:auto;
    margin:clamp(10px,1.3vw,16px) auto 0;
    border-radius:calc(var(--radius) - 6px);
    overflow:hidden;
    background:#0a2136;
  }
}

/* A restrained motion treatment gives the still cover a little life. */
.home-grid-static .strategy-tile .strategy-preview img {
  animation:robot-cover-drift 4.8s ease-in-out infinite alternate;
  transform-origin:62% 52%;
}
.home-grid-static .strategy-tile .strategy-preview video {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  background:transparent;
}
.home-grid-static .strategy-tile .strategy-preview::after {
  position:absolute;
  inset:0;
  content:"";
  pointer-events:none;
  background:linear-gradient(108deg, transparent 38%, rgba(112,225,255,.16) 50%, transparent 62%);
  transform:translateX(-120%);
  animation:robot-scan 6s ease-in-out infinite;
}
@keyframes robot-cover-drift {
  from { transform:scale(1.015) translate3d(-1.8%, 1.1%, 0); }
  to { transform:scale(1.115) translate3d(2.2%, -1.1%, 0); }
}
@keyframes robot-scan {
  0%, 28% { transform:translateX(-120%); opacity:0; }
  36% { opacity:1; }
  64% { transform:translateX(120%); opacity:.9; }
  72%, 100% { transform:translateX(120%); opacity:0; }
}
@media (prefers-reduced-motion:reduce) {
  .home-grid-static .strategy-tile .strategy-preview img,
  .home-grid-static .strategy-tile .strategy-preview::after { animation:none; }
}

/* Zebra case redesign: a project narrative, inspired by a character-system portfolio structure. */
.zebra-case-main { padding-bottom: clamp(66px, 10vw, 130px); }
.zebra-project-sheet {
  --sheet-blue:var(--zebra-pink);
  padding:0;
}
.zebra-project-topline { display:grid; grid-template-columns:1fr 1fr 1fr; align-items:center; color:var(--zebra-lilac); font-size:clamp(11px,1.25vw,15px); letter-spacing:.08em; }
.zebra-project-topline strong { font-size:clamp(18px,2.3vw,30px); letter-spacing:-.04em; }
.zebra-project-topline span { text-align:center; font-weight:700; }
.zebra-project-topline em { justify-self:end; font-style:normal; font-weight:800; }
.zebra-project-copy { max-width:900px; margin:clamp(20px,3vw,36px) auto 18px; }
.zebra-project-label { display:flex; align-items:center; gap:10px; color:var(--sheet-blue); font-size:clamp(17px,2.2vw,28px); letter-spacing:.03em; }
.zebra-project-label i { width:22px; height:22px; border-radius:50%; background:var(--sheet-blue); box-shadow:12px 0 0 #fff,12px 0 0 3px var(--sheet-blue); }
.zebra-project-label b { padding-bottom:5px; border-bottom:5px solid var(--sheet-blue); }
.zebra-project-copy h1 { margin:clamp(26px,4vw,46px) 0 22px; color:var(--zebra-ink); font-size:clamp(32px,4.7vw,62px); line-height:1; letter-spacing:-.075em; }
.zebra-project-copy p { color:var(--zebra-muted); font-size:clamp(15px,1.65vw,19px); line-height:1.8; }
.zebra-project-copy p + p { margin-top:13px; }
.zebra-project-tag { position:relative; z-index:1; width:max-content; max-width:calc(100% - 44px); margin:0 auto 8px; padding:8px 17px; border-radius:999px; color:#fff; background:var(--sheet-blue); font-size:clamp(11px,1.2vw,14px); letter-spacing:.08em; }
.zebra-project-images { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; width:min(100%,950px); margin:0 auto; }
.zebra-project-images figure { position:relative; overflow:hidden; border:1px solid var(--zebra-line); border-radius:16px; background:#fff; }
.zebra-project-images img { display:block; width:100%; aspect-ratio:16/9; object-fit:cover; }
.zebra-project-images figcaption { position:absolute; right:10px; bottom:8px; padding:5px 8px; color:#fff; border-radius:999px; background:rgba(116,91,178,.88); font-size:9px; letter-spacing:.1em; }
.zebra-case-hero {
  display:grid;
  grid-template-columns: .94fr 1.06fr;
  overflow:hidden;
  border:1px solid var(--zebra-line);
  border-radius:28px;
  background:rgba(255,255,255,.64);
  box-shadow:0 24px 70px rgba(129,76,111,.13);
}
.zebra-case-hero-copy { display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:clamp(30px,5vw,68px); }
.zebra-case-hero h1 { margin:14px 0 18px; font-size:clamp(40px,5.4vw,72px); line-height:.98; letter-spacing:-.085em; }
.zebra-case-hero .zebra-lede { max-width:30rem; }
.zebra-case-facts { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.zebra-case-facts span { padding:7px 10px; border:1px solid rgba(221,109,155,.22); border-radius:999px; color:var(--zebra-muted); background:rgba(255,255,255,.7); font-size:11px; }
.zebra-case-hero-media { position:relative; min-height:430px; overflow:hidden; background:#ffe4ec; }
.zebra-case-hero-media img { display:block; width:100%; height:100%; object-fit:cover; }
.zebra-case-hero-media::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 62%,rgba(62,30,58,.52)); pointer-events:none; }
.zebra-case-hero-media figcaption { position:absolute; z-index:1; right:22px; bottom:18px; left:22px; color:#fff; font-size:12px; line-height:1.55; }
.zebra-case-section { padding-top:clamp(66px,9vw,118px); }
.zebra-project-sheet + .zebra-case-section { padding-top:clamp(28px,4vw,56px); }
.zebra-case-section-head { display:grid; grid-template-columns:.82fr 1.18fr; gap:22px; align-items:end; margin-bottom:24px; }
.zebra-case-section-head > span { color:var(--zebra-pink); font-size:11px; letter-spacing:.13em; }
.zebra-case-section-head h2 { font-size:clamp(31px,4.5vw,60px); line-height:1.02; letter-spacing:-.08em; }
.zebra-character-section .zebra-case-section-head { display:block; margin-bottom:16px; }
.zebra-case-brief { display:grid; grid-template-columns:1.05fr .95fr; gap:20px; padding:clamp(24px,3vw,38px); border:1px solid var(--zebra-line); border-radius:22px; background:rgba(255,255,255,.58); }
.zebra-case-brief > p { color:var(--zebra-muted); font-size:clamp(15px,1.6vw,18px); line-height:1.8; }
.zebra-case-brief strong { color:var(--zebra-ink); }
.zebra-case-role-list { display:flex; flex-wrap:wrap; align-content:center; gap:8px; }
.zebra-case-role-list b { flex-basis:100%; margin-bottom:4px; color:var(--zebra-muted); font-size:12px; }
.zebra-case-role-list span { padding:8px 10px; border-radius:10px; color:#8e3f68; background:rgba(255,206,226,.52); font-size:12px; }
.zebra-character-layout { display:grid; grid-template-columns:1.15fr .85fr; gap:14px; }
.zebra-character-board,.zebra-world-card,.zebra-live-feature { overflow:hidden; border:1px solid var(--zebra-line); border-radius:22px; background:rgba(255,255,255,.68); }
.zebra-character-board img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.zebra-character-board figcaption { display:grid; grid-template-columns:.42fr 1fr; gap:16px; padding:18px 20px 22px; color:var(--zebra-muted); font-size:13px; line-height:1.7; }
.zebra-character-board figcaption span { color:var(--zebra-pink); font-size:11px; letter-spacing:.12em; }
.zebra-character-notes { display:grid; align-content:stretch; border:1px solid var(--zebra-line); border-radius:22px; overflow:hidden; background:var(--zebra-line); }
.zebra-character-notes article { padding:23px; background:rgba(255,255,255,.7); }
.zebra-character-notes article span { color:var(--zebra-pink); font-size:12px; }
.zebra-character-notes h3 { margin:24px 0 8px; font-size:23px; letter-spacing:-.055em; }
.zebra-character-notes p { color:var(--zebra-muted); font-size:13px; line-height:1.72; }
.zebra-character-notes .zebra-role-tags { margin:0; padding:18px 20px; align-content:center; background:rgba(255,248,251,.74); }
.zebra-world-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.zebra-world-card img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; }
.zebra-world-card figcaption,.zebra-live-feature figcaption { padding:20px; }
.zebra-world-card figcaption > span,.zebra-live-feature figcaption > span { color:var(--zebra-pink); font-size:10px; letter-spacing:.12em; }
.zebra-world-card h3,.zebra-live-feature h3 { margin:10px 0 8px; font-size:clamp(23px,2.6vw,31px); line-height:1.1; letter-spacing:-.06em; }
.zebra-world-card p,.zebra-live-feature p { color:var(--zebra-muted); font-size:13px; line-height:1.72; }
.zebra-world-card .zebra-role-tags,.zebra-live-feature .zebra-role-tags { margin-top:14px; }
.zebra-episode-layout { display:grid; grid-template-columns:.88fr 1.12fr; gap:14px; }
.zebra-episode-flow { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:hidden; border:1px solid var(--zebra-line); border-radius:22px; background:var(--zebra-line); gap:1px; }
.zebra-episode-flow article { min-height:180px; padding:22px; background:rgba(255,255,255,.72); }
.zebra-episode-flow b { color:var(--zebra-pink); font-size:12px; }
.zebra-episode-flow h3 { margin:36px 0 8px; font-size:22px; letter-spacing:-.055em; }
.zebra-episode-flow p { color:var(--zebra-muted); font-size:13px; line-height:1.65; }
.zebra-live-feature { display:grid; grid-template-columns:1.12fr .88fr; }
.zebra-live-feature img { display:block; width:100%; height:100%; min-height:340px; object-fit:cover; }
.zebra-live-feature figcaption { align-self:center; }
.zebra-live-feature figcaption > span { color:var(--zebra-lilac); }
.zebra-delivery-layout { display:grid; grid-template-columns:.76fr 1.24fr; gap:28px; align-items:center; }
.zebra-delivery-copy > p { color:var(--zebra-muted); font-size:15px; line-height:1.8; }
.zebra-delivery-stats { display:grid; gap:1px; margin-top:22px; overflow:hidden; border:1px solid var(--zebra-line); background:var(--zebra-line); }
.zebra-delivery-stats span { display:flex; align-items:baseline; gap:10px; padding:13px 15px; color:var(--zebra-muted); background:rgba(255,255,255,.62); font-size:12px; }
.zebra-delivery-stats b { min-width:44px; color:var(--zebra-pink); font-size:23px; letter-spacing:-.07em; }
.zebra-sop-intro { display:grid; grid-template-columns:1.04fr .96fr; gap:24px; align-items:center; margin-bottom:14px; padding:clamp(22px,3vw,34px); border:1px solid var(--zebra-line); border-radius:22px; background:rgba(255,255,255,.56); }
.zebra-sop-intro p { color:var(--zebra-muted); font-size:15px; line-height:1.8; }
.zebra-sop-intro .zebra-role-tags { justify-content:flex-end; margin:0; }
.zebra-sop-showcase { display:grid; grid-template-columns:1.2fr .8fr; gap:14px; }
.zebra-sop-library { position:relative; overflow:hidden; min-height:0; border:1px solid var(--zebra-line); border-radius:22px; background:#222; }
.zebra-sop-library img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:center; opacity:.94; }
.zebra-sop-library::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 47%,rgba(34,20,37,.88)); pointer-events:none; }
.zebra-sop-library figcaption { position:absolute; z-index:1; right:0; bottom:0; left:0; padding:clamp(18px,2.4vw,28px); color:#fff; }
.zebra-sop-library span,.zebra-sop-evidence figcaption span { color:#ffbbd3; font-size:10px; letter-spacing:.13em; }
.zebra-sop-library h3 { margin:8px 0 6px; font-size:clamp(24px,3vw,36px); letter-spacing:-.065em; }
.zebra-sop-library p { max-width:32rem; color:rgba(255,243,249,.8); font-size:13px; line-height:1.6; }
.zebra-sop-results { display:grid; overflow:hidden; border:1px solid var(--zebra-line); border-radius:22px; background:var(--zebra-line); gap:1px; }
.zebra-sop-results article { display:flex; align-items:center; gap:16px; padding:clamp(18px,2.3vw,28px); background:rgba(255,255,255,.72); }
.zebra-sop-results b { min-width:60px; color:var(--zebra-pink); font-size:clamp(34px,4vw,54px); line-height:1; letter-spacing:-.09em; }
.zebra-sop-results span { color:var(--zebra-muted); font-size:13px; line-height:1.55; }
.zebra-sop-flow { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); margin-top:14px; overflow:hidden; border:1px solid var(--zebra-line); border-radius:20px; background:var(--zebra-line); gap:1px; }
.zebra-sop-flow article { position:relative; min-height:190px; padding:20px; background:rgba(255,255,255,.67); }
.zebra-sop-flow article:not(:last-child)::after { content:"→"; position:absolute; top:50%; right:-9px; z-index:2; display:grid; width:18px; height:18px; place-items:center; border-radius:50%; color:#fff; background:var(--zebra-lilac); font-size:12px; transform:translateY(-50%); }
.zebra-sop-flow b { color:var(--zebra-pink); font-size:12px; }
.zebra-sop-flow h3 { margin:34px 0 8px; font-size:20px; letter-spacing:-.05em; }
.zebra-sop-flow p { color:var(--zebra-muted); font-size:12px; line-height:1.65; }
.zebra-sop-evidence { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-top:14px; }
.zebra-sop-evidence figure { overflow:hidden; border:1px solid var(--zebra-line); border-radius:20px; background:#fff; }
.zebra-sop-evidence img { display:block; width:100%; aspect-ratio:16/10; object-fit:cover; object-position:center; background:#fff; }
.zebra-sop-evidence figcaption { padding:15px 18px 18px; }
.zebra-sop-evidence figcaption span { color:var(--zebra-lilac); }
.zebra-sop-evidence figcaption p { margin-top:7px; color:var(--zebra-muted); font-size:13px; line-height:1.62; }
.zebra-sop-evidence { grid-template-columns:minmax(0,1fr); align-items:stretch; }
.zebra-sop-evidence .zebra-sop-icons { background:#252525; }
.zebra-sop-evidence .zebra-sop-icons img { aspect-ratio:1/1; object-fit:contain; object-position:center; background:#252525; }
.zebra-sop-evidence .zebra-sop-preview { background:#202020; }
.zebra-sop-evidence .zebra-sop-preview img { aspect-ratio:16/9; object-fit:cover; object-position:center; background:#202020; }
.zebra-sop-evidence .zebra-sop-icons figcaption,.zebra-sop-evidence .zebra-sop-preview figcaption { background:rgba(255,255,255,.9); }
@media (max-width:820px) {
  .zebra-project-sheet { padding:22px 17px; }
  .zebra-project-topline { grid-template-columns:1fr auto; gap:8px; }
  .zebra-project-topline span { display:none; }
  .zebra-project-copy { margin:20px 0 16px; }
  .zebra-project-sheet + .zebra-case-section { padding-top:32px; }
  .zebra-project-images { grid-template-columns:1fr; }
  .zebra-case-hero,.zebra-case-brief,.zebra-character-layout,.zebra-episode-layout,.zebra-delivery-layout,.zebra-sop-intro,.zebra-sop-showcase { grid-template-columns:1fr; }
  .zebra-case-hero-media { min-height:260px; order:-1; }
  .zebra-case-section-head { grid-template-columns:1fr; gap:9px; }
  .zebra-world-grid,.zebra-sop-evidence { grid-template-columns:1fr; }
  .zebra-sop-intro .zebra-role-tags { justify-content:flex-start; }
  .zebra-sop-flow { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .zebra-live-feature { grid-template-columns:1fr; }
  .zebra-live-feature img { min-height:0; aspect-ratio:16/10; }
}
@media (max-width:520px) {
  .zebra-case-hero-copy { padding:28px 22px; }
  .zebra-character-board figcaption { grid-template-columns:1fr; }
  .zebra-episode-flow { grid-template-columns:1fr; }
  .zebra-sop-flow { grid-template-columns:1fr; }
  .zebra-sop-flow article:not(:last-child)::after { top:auto; right:50%; bottom:-9px; transform:translateX(50%) rotate(90deg); }
  .zebra-episode-flow article { min-height:0; }
}
