:root {
  --bg: #101010;
  --bg-soft: #171417;
  --surface: #1c191c;
  --surface-2: #242024;
  --text: #f2f0f2;
  --muted: #aaa4aa;
  --pink: #cc3366;
  --violet: #9f20ff;
  --purple: #8146ac;
  --line: rgba(255,255,255,.14);
}

html[data-theme="light"] {
  --bg: #f1edf0;
  --bg-soft: #e8e2e7;
  --surface: #fffafd;
  --surface-2: #ddd5dc;
  --text: #191619;
  --muted: #655e64;
  --line: rgba(35,25,34,.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}
body::selection { background: var(--pink); color: white; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
.noise {
  position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.site-header {
  position: fixed; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  height: 82px; padding: 0 4vw; border-bottom: 1px solid transparent;
  transition: .3s ease;
}
.site-header.scrolled { background: rgba(16,16,16,.94); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; }
.brand > span:last-child > span { color: var(--purple); }
.brand-logo { width: 38px; height: 30px; object-fit: contain; }
.site-header nav { display: flex; gap: 2.2rem; color: #d0ccd0; font-size: .88rem; }
.site-header nav a:hover, footer nav a:hover { color: var(--pink); }
.header-cta { color: var(--pink); font-weight: 700; font-size: .88rem; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.theme-toggle {
  display: flex; align-items: center; gap: .5rem;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  padding: .5rem .75rem; cursor: pointer; font: 600 .68rem "Manrope";
}
.theme-icon { color: var(--pink); font-size: 1rem; }

.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: center; gap: 5vw; padding: 130px 8vw 120px; position: relative; isolation: isolate;
}
.hero-glow {
  position: absolute; z-index: -1; width: 70vw; height: 70vw; left: 30%; top: -25%;
  background: radial-gradient(circle, rgba(204,51,102,.28), rgba(130,25,170,.12) 38%, transparent 68%);
  filter: blur(10px);
}
.eyebrow, .section-number { color: var(--pink); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; font-weight: 700; }
h1, h2 { font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; margin: 0; letter-spacing: -.055em; line-height: .93; }
h1 { font-size: clamp(4rem, 8vw, 8.8rem); }
h1 span, h2 span { color: transparent; -webkit-text-stroke: 1px var(--purple); text-shadow: 0 0 40px rgba(159,32,255,.22); }
.hero-intro { max-width: 620px; font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.7; color: var(--muted); margin: 2rem 0; }
.hero-actions { display: flex; align-items: center; gap: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 1rem 1.5rem; border-radius: 2px; transition: .25s ease; }
.button-primary { background: linear-gradient(135deg, var(--pink), #a01fff); color: white; box-shadow: 0 10px 40px rgba(204,51,102,.2); }
.button-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 50px rgba(204,51,102,.4); }
.text-link { font-weight: 700; display: inline-flex; gap: .7rem; align-items: center; }
.text-link span { color: var(--pink); font-size: 1.3em; }
.hero-visual { justify-self: center; width: min(38vw, 530px); transform: translateY(24px); }
.portrait-card { position: relative; }
.portrait-card::before { content: ""; position: absolute; inset: 10% -10% -2%; z-index: -1; background: linear-gradient(145deg, #301432, #9e2e92); clip-path: polygon(15% 0,100% 12%,88% 100%,0 88%); }
.portrait-card img { max-height: 78vh; object-fit: contain; filter: saturate(.86) contrast(1.04); }
.floating-tag { position: absolute; background: rgba(15,15,15,.82); border: 1px solid var(--line); backdrop-filter: blur(12px); padding: .8rem 1rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.tag-one { left: -10%; bottom: 28%; }.tag-two { right: -8%; top: 25%; color: #dc7aff; }
.scroll-cue { position: absolute; z-index: 2; top: 7px; left: 4vw; color: #8b858a; font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; display: flex; gap: .8rem; align-items: center; }
.scroll-cue span { display: block; height: 1px; width: 45px; background: #777; }

.marquee {
  position: relative; z-index: 4; margin-top: -145px;
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  min-height: 76px; padding: 1.85rem 0 .65rem; color: #c5c0c5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: 0 -20px 45px rgba(0,0,0,.24);
}
.marquee-track { display: flex; gap: 2rem; width: max-content; min-height: 38px; align-items: center; font: 600 clamp(1rem,2vw,1.6rem) Inter, Aptos, "Segoe UI", Arial, sans-serif; line-height: 1; animation: marquee 25s linear infinite; }
.marquee-track b { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.section-pad { padding: 9rem 8vw; }
.intro-grid { display: grid; grid-template-columns: 1.4fr .6fr; align-items: end; gap: 7vw; margin-top: 3rem; }
h2 { font-size: clamp(3.2rem, 6.4vw, 7rem); }
.intro-grid p, .portfolio-head > p { color: var(--muted); line-height: 1.8; font-size: 1.05rem; }

.edit-sequence {
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 28vw) 1fr;
  gap: 5vw;
  padding: 8rem 6vw 10rem 4vw;
  border-top: 1px solid var(--line);
  background: linear-gradient(90deg, #111 0 31%, #151215 31%);
}
.vertical-editor {
  position: sticky;
  top: 100px;
  align-self: start;
  height: calc(100vh - 125px);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid #393239;
  background: #191719;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.editor-toolbar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  background: #292529;
  border-bottom: 1px solid #403940;
}
.editor-toolbar b { margin-left: auto; color: #918991; font-size: .55rem; letter-spacing: .12em; }
.editor-dot { width: 8px; height: 8px; border-radius: 50%; background: #645d64; }
.editor-dot:first-child { background: var(--pink); }
.time-ruler {
  position: absolute;
  left: 48px; top: 42px; bottom: 0;
  width: 36px;
  display: flex; flex-direction: column; justify-content: space-around;
  border-right: 1px solid #484048;
  color: #766f76; font: 500 .5rem monospace;
}
.time-ruler span { transform: rotate(-90deg); }
.track-labels {
  position: absolute; left: 0; top: 42px; bottom: 0; width: 48px;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  background: #211e21; color: #8f878f; font: 600 .55rem monospace;
}
.track-lane {
  position: absolute; left: 84px; right: 10px; top: 52px; bottom: 10px;
  background:
    repeating-linear-gradient(to bottom, transparent 0 79px, rgba(255,255,255,.06) 80px),
    repeating-linear-gradient(to right, transparent 0 39px, rgba(255,255,255,.025) 40px);
}
.timeline-clip {
  position: absolute;
  left: 8%; right: 10%;
  min-height: 82px;
  padding: .75rem;
  display: flex; flex-direction: column; justify-content: space-between;
  border-left: 4px solid rgba(255,255,255,.5);
  color: white;
  font: 600 .62rem monospace;
  transition: transform .35s ease, opacity .35s ease, box-shadow .35s ease;
}
.timeline-clip small { opacity: .65; }
.timeline-clip.active { transform: scale(1.06); box-shadow: 0 15px 40px rgba(204,51,102,.28); z-index: 2; }
.clip-video { top: 4%; background: #8d2a67; }
.clip-photo { top: 31%; background: #563d86; }
.clip-retouch { top: 51%; background: #9b3657; }
.clip-web { top: 70%; background: #7041aa; }
.clip-social { top: 84%; background: #6a287d; }
.audio-wave {
  position: absolute; left: 18%; right: 3%; height: 34px;
  opacity: .75;
  background: repeating-linear-gradient(90deg, #8e478e 0 2px, transparent 2px 6px);
  clip-path: polygon(0 35%,4% 15%,8% 60%,12% 25%,16% 80%,20% 20%,24% 70%,28% 32%,32% 90%,36% 10%,40% 65%,44% 28%,48% 75%,52% 12%,56% 82%,60% 30%,64% 63%,68% 18%,72% 76%,76% 26%,80% 67%,84% 14%,88% 74%,92% 32%,96% 57%,100% 35%,100% 65%,0 65%);
}
.wave-one { top: 21%; }.wave-two { top: 48%; }
.playhead { position: absolute; left: -4px; right: -4px; top: 18%; height: 1px; background: #ff4b7f; z-index: 4; pointer-events: none; transition: top .55s cubic-bezier(.2,.75,.2,1); }
.playhead i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: #ff4b7f; transform: rotate(45deg); }
.playhead span { position: absolute; right: 0; top: -18px; color: #ff7aa1; font: .55rem monospace; }
.sequence-content { min-width: 0; }
.focus-scene {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 4vw;
  align-items: center;
  padding: 8vh 0;
  opacity: .34;
  filter: blur(5px) saturate(.55);
  transform: scale(.91);
  transform-origin: center;
  transition: opacity .6s ease, filter .6s ease, transform .6s cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}
.focus-scene.active { opacity: 1; filter: none; transform: scale(1.035); }
.scene-visual { position: relative; height: 64vh; min-height: 460px; overflow: hidden; background: #211d21; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.scene-visual > img { height: 100%; object-fit: cover; }
.scene-type { position: absolute; left: 14px; bottom: 14px; background: rgba(12,10,12,.88); border-left: 3px solid var(--pink); padding: .65rem .8rem; font: 600 .6rem monospace; letter-spacing: .08em; }
.scene-copy h2 { font-size: clamp(3rem,5vw,6rem); margin: 1.2rem 0 2rem; }
.scene-copy > p:not(.section-number) { color: var(--muted); line-height: 1.8; }
.scene-stack { overflow: visible; }
.scene-stack img:first-child { width: 78%; }
.scene-stack img:nth-child(2) { position: absolute; width: 48%; height: 55%; right: 0; bottom: -4%; border: 8px solid #151215; }
.scene-before-after { display: grid; grid-template-columns: 1fr 1fr; }
.scene-social img { filter: saturate(.65); }
.social-overlay { position: absolute; inset: 10% 8%; display: grid; align-content: space-between; pointer-events: none; }
.social-overlay span { justify-self: end; color: var(--pink); }
.social-overlay b { font: 700 clamp(2rem,4vw,4.5rem) Inter, Aptos, "Segoe UI", Arial, sans-serif; text-shadow: 0 3px 25px #000; }
.social-overlay b:nth-child(3) { justify-self: center; }.social-overlay b:nth-child(4) { justify-self: end; color: #df87ff; }

.service { min-height: 150vh; position: relative; border-top: 1px solid var(--line); }
.service-sticky { position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; padding: 100px 8vw 60px; overflow: hidden; }
.service-sticky.reverse { grid-template-columns: 1.15fr .85fr; }
.service-sticky.reverse .service-copy { order: 2; }
.service-copy p:not(.section-number) { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 570px; margin: 2rem 0; }
.service-copy h2 { font-size: clamp(3.2rem,5.5vw,6.5rem); margin-top: 1.3rem; }
.pill-list { display: flex; flex-wrap: wrap; list-style: none; padding: 0; gap: .6rem; margin: 0 0 2rem; }
.pill-list li {
  position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 99px;
  padding: .55rem .9rem; color: #c9c4c9; font-size: .72rem;
  transition: color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pill-list li::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg,var(--pink),var(--violet)); transform: translateY(105%); transition: transform .25s ease; }
.pill-list li:hover { color: white; border-color: transparent; transform: translateY(-3px) scale(1.03); box-shadow: 0 8px 25px rgba(159,32,255,.28); }
.pill-list li:hover::before { transform: translateY(0); }
.service-media { position: relative; }
.service-media > img { height: 65vh; object-fit: cover; filter: saturate(.75); }
.service-video .service-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 120px rgba(132,33,164,.35); pointer-events: none; }
.media-ui { position: absolute; left: 4%; right: 4%; bottom: 4%; background: rgba(15,15,15,.9); padding: .8rem; font-size: .65rem; }
.timeline { display: flex; height: 22px; gap: 3px; margin-top: .5rem; }
.timeline i { flex: 1; background: #72397d; }.timeline i:nth-child(even) { background: var(--pink); }
.photo-stack { min-height: 68vh; }
.photo-stack img:first-child { width: 78%; height: 58vh; object-fit: cover; }
.photo-stack img:last-child { position: absolute; right: 0; bottom: 0; width: 47%; height: 38vh; object-fit: cover; border: 8px solid var(--bg); }
.before-after { height: 66vh; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.image-half { background-image: url("assets/graphics/bildbearbeitung.svg"); background-size: auto 100%; position: relative; }
.image-half span { position: absolute; left: 1rem; bottom: 1rem; background: rgba(10,10,10,.75); padding: .45rem .7rem; font-size: .7rem; }
.before { background-position: left center; filter: grayscale(1) contrast(.85); }
.after { background-position: right center; filter: saturate(1.15) contrast(1.05); }
.split-handle { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 48px; height: 48px; display: grid; place-items: center; background: white; color: #111; border-radius: 50%; }
.split-handle::after { content: ""; position: absolute; width: 1px; height: 66vh; background: white; z-index: -1; }
.social-orbit { min-height: 72vh; position: relative; display: grid; place-items: center; }
.social-orbit::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border: 1px solid rgba(204,51,102,.35); border-radius: 50%; box-shadow: 0 0 120px rgba(159,32,255,.18); }
.phone { width: min(310px,65%); border: 8px solid #292529; border-radius: 38px; background: #151315; padding: .5rem; transform: rotate(-5deg); box-shadow: 0 35px 90px #000; z-index: 1; }
.phone-top { width: 35%; height: 16px; border-radius: 0 0 10px 10px; background: #292529; margin: -.5rem auto .5rem; }
.phone img { height: 35vh; object-fit: cover; border-radius: 24px 24px 5px 5px; }
.phone-content { padding: 1rem .6rem; display: grid; gap: .5rem; }.phone-content span { color: var(--pink); font-size: .7rem; }.phone-content strong { font-size: 1.1rem; }
.phone-stats { display: flex; gap: 5px; }.phone-stats i { height: 4px; flex: 1; background: #413a41; }.phone-stats i:first-child { background: var(--pink); }
.orbit-note { position: absolute; z-index: 2; border: 1px solid var(--line); background: rgba(20,17,20,.8); backdrop-filter: blur(10px); border-radius: 50%; width: 70px; aspect-ratio: 1; display: grid; place-items: center; font-size: .7rem; text-transform: uppercase; }
.note-a { top: 13%; left: 10%; }.note-b { right: 5%; top: 42%; }.note-c { bottom: 10%; left: 17%; }

.process { background: #eae5e9; color: #171417; }
.process .section-number { color: #a62561; }
.process-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.process-head h2 { font-size: clamp(3rem,5vw,5.5rem); }
.process-head p { max-width: 300px; color: #655e64; }
.process-list { list-style: none; padding: 0; margin: 5rem 0 0; border-top: 1px solid #bdb5bb; }
.process-list li { display: grid; grid-template-columns: 70px 1fr 1.4fr; gap: 2rem; align-items: center; border-bottom: 1px solid #bdb5bb; padding: 1.8rem 0; }
.process-list li > span { color: #a62561; font-size: .75rem; }.process-list strong { font: 600 1.5rem Inter, Aptos, "Segoe UI", Arial, sans-serif; }.process-list p { color: #655e64; }

.portfolio-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,420px); gap: 5vw; align-items: end; }
.portfolio-head h2 { margin-top: 1.5rem; }
.portfolio { padding-top: 7rem; }
.portfolio-tape {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: minmax(260px,1.25fr) repeat(5,minmax(118px,.62fr));
  min-height: 180px;
  border: 1px solid var(--line);
  background: linear-gradient(110deg,rgba(159,32,255,.1),transparent 45%),var(--surface);
}
.portfolio-tape-copy { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.portfolio-tape-copy > span { color: var(--pink); font: .6rem monospace; letter-spacing: .14em; }
.portfolio-tape-copy strong { margin: .65rem 0; font-size: clamp(1.2rem,2vw,2rem); }
.portfolio-tape-copy p { margin: 0; max-width: 440px; color: var(--muted); line-height: 1.6; font-size: .82rem; }
.portfolio-tape figure { position: relative; margin: 0; overflow: hidden; border-left: 1px solid var(--line); }
.portfolio-tape figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.62); transition: .45s ease; }
.portfolio-tape figure:hover img { transform: scale(1.06); filter: saturate(1) brightness(.82); }
.portfolio-tape figcaption { position: absolute; left: .8rem; bottom: .7rem; color: white; font: .58rem monospace; letter-spacing: .1em; }
.portfolio-web-card img { object-fit: cover; background: #100d13; }
.shop {
  border-top: 1px solid var(--line);
  background: radial-gradient(circle at 80% 15%,rgba(159,32,255,.13),transparent 30%),var(--bg-soft);
}
.shop-page-main { min-height: 100vh; padding-top: 82px; background: var(--bg-soft); }
.shop-page-main .shop { min-height: calc(100vh - 82px); border-top: 0; padding-top: 7rem; }
.shop-page-main .shop-head { padding-bottom: 1rem; }
.shop-back { display: inline-flex; margin-bottom: 2.5rem; color: var(--muted); font-size: .78rem; }
.shop-back:hover { color: var(--pink); }
.shop-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,440px); gap: 6vw; align-items: end; }
.shop-head h2 { margin-top: 1.5rem; }
.shop-head > p { color: var(--muted); line-height: 1.8; }
.shop-categories { display: grid; gap: 2rem; margin-top: 4rem; }
.shop-category { border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.shop-category-head { display: grid; grid-template-columns: 1fr minmax(250px,.7fr); gap: 2rem; padding: 2rem; border-bottom: 1px solid var(--line); }
.shop-category-head h3 { margin: 0 0 .5rem; font-size: clamp(1.8rem,3vw,3rem); }
.shop-category-head p { margin: 0; color: var(--muted); line-height: 1.65; }
.shop-package-notes { display: grid; gap: .7rem; color: var(--muted); font-size: .78rem; }
.shop-package-notes b { color: var(--text); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.price-table th { color: var(--muted); font: .65rem monospace; letter-spacing: .08em; text-transform: uppercase; }
.price-table td:first-child { font-weight: 700; }
.price-choice { width: 100%; padding: .75rem; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; text-align: left; font: inherit; transition: .2s ease; }
.price-choice:hover, .price-choice.selected { border-color: var(--pink); background: rgba(204,51,102,.1); color: #ef91bd; }
.price-choice.selected { box-shadow: inset 0 0 0 1px var(--pink), 0 0 22px rgba(204,51,102,.16); font-weight: 800; }
.price-choice.selected::after { content: " ✓"; }
.shop-note { padding: 1.2rem 2rem; color: var(--pink); font-size: .82rem; }
.shop-order { margin-top: 2rem; display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 1.5rem; padding: clamp(1.5rem,3vw,3rem); border: 1px solid var(--line); background: var(--surface); }
.shop-order-summary { grid-row: span 4; padding-right: 2rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: .8rem; }
.shop-order-summary strong { font-size: clamp(1.4rem,2.5vw,2.4rem); }
.shop-order-summary > span { color: var(--pink); font-size: 1.5rem; font-weight: 800; }
.shop-order > label, .shop-order .form-row, .shop-order > button, .shop-order > .form-status { grid-column: 2 / -1; }
.shop-order .form-row label, .shop-order > label { display: grid; gap: .55rem; font-size: .75rem; font-weight: 700; }
.shop-order input, .shop-order textarea { color: var(--text); border-color: var(--line); }
.work { position: relative; min-height: 360px; overflow: hidden; }
.work-large { grid-row: span 2; }
.work img { height: 100%; object-fit: cover; filter: saturate(.6) brightness(.75); transition: .6s ease; }
.work:hover img { transform: scale(1.04); filter: saturate(1) brightness(.9); }
.work > span { position: absolute; left: 1.5rem; bottom: 1.5rem; display: grid; gap: .3rem; }
.work b { font: 600 1.5rem Inter, Aptos, "Segoe UI", Arial, sans-serif; }.work small { color: #ddd; }
.work-brand { background: radial-gradient(circle at 50% 40%,#35203f,#111018 70%); display: grid; place-items: center; }
.brand-cube {
  width: min(58%,280px); aspect-ratio: 1; border-radius: 24%;
  display: grid; place-items: center;
  background: linear-gradient(145deg,#3c214a,#100d13 58%,#7d245f);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 18px 18px 35px rgba(255,255,255,.08), inset -20px -25px 40px #080609, 0 35px 55px rgba(0,0,0,.55), 0 0 40px rgba(204,51,102,.2);
  transform: perspective(700px) rotateX(8deg) rotateY(-8deg);
  transition: transform .45s ease, box-shadow .45s ease;
}
.work-brand:hover .brand-cube { transform: perspective(700px) rotateX(-3deg) rotateY(8deg) translateY(-8px); box-shadow: inset 18px 18px 35px rgba(255,255,255,.12), inset -20px -25px 40px #080609, 0 45px 70px rgba(0,0,0,.6), 0 0 65px rgba(159,32,255,.42); }
.brand-cube > img { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.45)); }

.demo { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; background: radial-gradient(circle at 15% 20%, rgba(159,32,255,.2), transparent 32%), #151215; border-top: 1px solid var(--line); }
.demo-copy { align-self: start; position: sticky; top: 130px; }
.demo-copy h2 { margin: 1.5rem 0 2rem; }
.demo-copy > p:not(.section-number) { color: var(--muted); line-height: 1.8; }
.demo-facts { margin-top: 3rem; display: grid; gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.5rem; color: var(--muted); }
.demo-facts b { color: white; display: inline-block; min-width: 70px; }
.demo-form { background: var(--surface); color: var(--text); padding: clamp(1.5rem,4vw,4rem); }
.demo-form label { display: grid; gap: .7rem; font-size: .75rem; font-weight: 700; margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
input, textarea, select { width: 100%; border: 0; border-bottom: 1px solid #aaa1a8; background: transparent; font: inherit; padding: .9rem 0; border-radius: 0; outline: none; }
input:focus, textarea:focus, select:focus { border-color: var(--pink); }
.upload-zone { min-height: 190px; border: 1px dashed #938a91; place-items: center; align-content: center; text-align: center; cursor: pointer; transition: .25s ease; }
.upload-zone:hover, .upload-zone.dragging { border-color: var(--pink); background: rgba(204,51,102,.06); }
.upload-zone input { display: none; }.upload-icon { font-size: 2rem; color: var(--pink); }.upload-zone small { color: #716971; }.upload-zone em { color: #a62561; font-style: normal; }
.check { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: .7rem !important; font-weight: 400 !important; line-height: 1.5; }
.check input { width: auto; margin-top: .2rem; accent-color: var(--pink); }
.button-wide { width: 100%; }.form-status { min-height: 1.4em; text-align: center; color: #8f2050; font-size: .8rem; }

.contact { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #85196c, #42114c 55%, #141014); }
.contact h2 { margin: 1.5rem 0 4rem; }
.contact h2 span { -webkit-text-stroke-color: #e5a5e6; }
.contact-links { display: grid; border-top: 1px solid rgba(255,255,255,.35); }
.contact-links a { display: flex; justify-content: space-between; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.35); font: 500 clamp(1.3rem,3vw,2.5rem) Inter, Aptos, "Segoe UI", Arial, sans-serif; transition: .2s; }
.contact-links a:hover { padding-left: 1rem; color: #ffc8f3; }
.contact-note { margin-top: 2rem; color: #d0b9cc; font-size: .75rem; }
.contact-form { width: min(820px,100%); margin-top: 4rem; padding: clamp(1.4rem,4vw,3rem); background: rgba(14,11,14,.42); border: 1px solid rgba(255,255,255,.22); }
.contact-form label { display: grid; gap: .55rem; margin-bottom: 1.2rem; font-size: .72rem; font-weight: 700; }
.contact-form input, .contact-form textarea { color: white; border-color: rgba(255,255,255,.35); }
.contact-form .check { font-weight: 400; }
.captcha-field { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
.captcha-field label { margin: 0 !important; }
.captcha-question { color: var(--pink); font-weight: 800; }
.captcha-refresh { min-height: 42px; padding: .75rem 1rem; border: 1px solid var(--line); background: transparent; color: inherit; cursor: pointer; }
.shop-order .captcha-field { grid-column: 2 / -1; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.sound-toggle { display: flex; align-items: center; gap: .45rem; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-family: inherit; font-size: .68rem; font-weight: 600; }
.sound-toggle[aria-pressed="true"] { color: var(--pink); }

footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 3rem 4vw; color: #8f898e; font-size: .75rem; }
footer nav { display: flex; gap: 1.5rem; }
.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 901px) {
  .site-header nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: grid; gap: 0; padding: 0 5vw;
    background: color-mix(in srgb, var(--bg) 97%, transparent);
    border-bottom: 1px solid var(--line); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-header.menu-open nav { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
  .site-header nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .site-header nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .hero { grid-template-columns: 1fr; padding-left: 6vw; padding-right: 6vw; padding-top: 120px; }
  .hero-visual { width: min(80vw,480px); }
  .intro-grid, .portfolio-head, .shop-head, .demo { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .service-sticky, .service-sticky.reverse { position: relative; grid-template-columns: 1fr; padding: 7rem 6vw; }
  .service-sticky.reverse .service-copy { order: 0; }
  .service-media > img, .before-after { height: 55vh; }
  .demo-copy { position: relative; top: 0; }
  .section-pad { padding: 7rem 6vw; }
  .portfolio-tape { grid-template-columns: 1fr 1fr; }
  .portfolio-tape-copy { grid-column: 1 / -1; min-height: 150px; }
  .portfolio-tape figure { min-height: 160px; border-top: 1px solid var(--line); }
  .shop-order { grid-template-columns: 1fr; }
  .shop-order-summary { grid-row: auto; padding: 0 0 1.5rem; border: 0; border-bottom: 1px solid var(--line); }
  .shop-order > label, .shop-order .form-row, .shop-order > button, .shop-order > .form-status { grid-column: auto; }
  .work-large { grid-row: auto; }
  .edit-sequence { grid-template-columns: 1fr; padding: 5rem 6vw; background: #151215; }
  .vertical-editor { position: sticky; top: 78px; height: 150px; min-height: 0; z-index: 4; }
  .editor-toolbar { height: 32px; }
  .time-ruler, .track-labels, .audio-wave { display: none; }
  .track-lane { left: 10px; right: 10px; top: 40px; bottom: 8px; display: grid; grid-template-columns: repeat(4,1fr); gap: 5px; }
  .timeline-clip { position: relative; inset: auto; min-height: 90px; padding: .5rem; }
  .playhead { display: none; }
  .focus-scene { grid-template-columns: 1fr; min-height: auto; padding: 7rem 0; opacity: 1; filter: none; transform: none; }
  .focus-scene.active { transform: none; }
  .scene-visual { height: 52vh; min-height: 380px; }
}
@media (max-width: 600px) {
  .site-header { padding: 0 5vw; height: 70px; }.header-cta { display: none; }
  .brand { font-size: 1.08rem; }
  .brand-logo { width: 32px; }
  .sound-label, .theme-label { display: none; }
  h1 { font-size: 18vw; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { width: 90%; }
  .intro-grid { gap: 2rem; }
  .process-head { display: block; }
  .process-list li { grid-template-columns: 45px 1fr; gap: 1rem; }
  .process-list li p { grid-column: 2; margin: 0; }
  .form-row { grid-template-columns: 1fr; }
  .captcha-field { grid-template-columns: 1fr; }
  .shop-order .captcha-field { grid-column: auto; }
  footer { flex-direction: column; text-align: center; }
  .vertical-editor { margin-left: -4vw; margin-right: -4vw; }
  .timeline-clip { font-size: .48rem; }
  .scene-visual { min-height: 320px; }
}

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

/* Horizontal editor workspace */
.edit-sequence {
  display: block;
  height: 440vh;
  padding: 0;
  background: var(--bg);
  border-block: 1px solid var(--line);
}
.editor-workspace {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 92px 4vw 24px;
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr) 180px auto;
  background:
    radial-gradient(circle at 75% 25%, rgba(159,32,255,.12), transparent 30%),
    var(--bg);
  overflow: hidden;
}
.editor-topbar {
  display: flex; align-items: center; gap: 7px;
  padding: 0 13px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--muted);
  font: .56rem monospace;
  letter-spacing: .1em;
}
.editor-topbar b { margin-left: .5rem; }
.editor-state { margin-left: auto; color: var(--pink); }
.editor-main {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(400px, 1.05fr) minmax(420px, .95fr);
  gap: 3vw;
  padding: 2vh 0;
  transition: grid-template-columns .7s cubic-bezier(.2,.75,.2,1);
}
.editor-workspace.video-expanded .editor-main { grid-template-columns: minmax(0,3fr) minmax(240px,1fr); }
.editor-workspace.video-expanded .program-monitor {
  align-self: center;
  aspect-ratio: 21 / 9;
  min-height: 0;
  box-shadow: 0 30px 85px rgba(0,0,0,.5), 0 0 60px rgba(159,32,255,.12);
  transition: aspect-ratio .7s cubic-bezier(.2,.75,.2,1), box-shadow .7s ease;
}
.editor-workspace.video-expanded .monitor-video-layer video { object-fit: contain; }
.editor-workspace.video-expanded .focus-scene h2 { font-size: clamp(2.2rem,3.4vw,4rem); }
.program-monitor {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 34px;
  border: 1px solid var(--line);
  background: #080708;
  box-shadow: 0 22px 60px rgba(0,0,0,.32);
}
.monitor-screen { position: relative; min-height: 0; overflow: hidden; background: #080708; }
.monitor-layer {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  visibility: hidden;
  filter: blur(16px) saturate(.35) brightness(.55);
  transform: scale(1.12);
  transition: opacity .65s ease, filter .7s ease, transform .7s ease, visibility .65s;
}
.monitor-layer.active { opacity: 1; visibility: visible; filter: none; transform: scale(1); }
.monitor-video-layer { background: #050405; }
.monitor-video-layer video { width: 100%; height: 100%; display: block; object-fit: cover; }
.monitor-play-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: grid; place-content: center; justify-items: center; gap: .65rem;
  border: 0; background: linear-gradient(180deg,transparent 55%,rgba(4,3,5,.42)); color: white;
  cursor: pointer;
}
.monitor-play-overlay span {
  width: 68px; aspect-ratio: 1; display: grid; place-items: center;
  padding-left: 5px; border-radius: 50%; background: linear-gradient(135deg,var(--pink),var(--violet));
  box-shadow: 0 14px 50px rgba(159,32,255,.45); font-size: 1.2rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.monitor-play-overlay:hover span { transform: scale(1.08); box-shadow: 0 18px 65px rgba(204,51,102,.6); }
.monitor-play-overlay strong { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.monitor-video-layer.playing .monitor-play-overlay { opacity: 0; pointer-events: none; }
.monitor-slideshow { overflow: hidden; background: #080708; }
.gallery-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; filter: blur(7px) saturate(.7); transform: scale(1.035);
  transition: opacity .55s ease, filter .65s ease, transform .8s cubic-bezier(.2,.75,.2,1);
}
.gallery-slide.active { opacity: 1; filter: none; transform: scale(1); }
.gallery-counter {
  position: absolute; z-index: 2; left: 14px; bottom: 10px;
  padding: .35rem .5rem; background: rgba(0,0,0,.76); color: white; font: .58rem monospace;
}
.monitor-edit-photo { object-fit: contain; background: #090909; }
.monitor-website-preview {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2.2rem);
  background:
    radial-gradient(circle at 22% 18%, rgba(204,51,102,.38), transparent 34%),
    radial-gradient(circle at 86% 72%, rgba(159,32,255,.32), transparent 36%),
    #070608;
}
.browser-mockup {
  width: min(82%, 720px);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(12,10,14,.82);
  box-shadow: 0 24px 80px rgba(0,0,0,.38), 0 0 60px rgba(159,32,255,.16);
  overflow: hidden;
}
.browser-bar {
  height: 12%;
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: 0 .9rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.58);
  font: 600 .52rem monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.browser-bar i {
  width: 8px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #d33678;
}
.browser-bar i:nth-child(2) { background: #8654c7; }
.browser-bar i:nth-child(3) { background: rgba(255,255,255,.4); }
.browser-bar span { margin-left: auto; }
.browser-stage {
  height: 88%;
  display: grid;
  grid-template-columns: 27% 1fr;
}
.browser-stage aside {
  background:
    linear-gradient(135deg, rgba(204,51,102,.42), rgba(159,32,255,.35)),
    repeating-linear-gradient(to bottom, transparent 0 28px, rgba(255,255,255,.09) 29px);
}
.browser-stage main {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(.45rem, 1vw, .9rem);
  padding: clamp(1rem, 3vw, 2.2rem);
  background:
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
}
.web-kicker {
  display: inline-block;
  margin-bottom: .2rem;
  color: var(--pink);
  font: 800 .58rem monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.browser-stage strong {
  display: block;
  color: white;
  font-size: clamp(1.25rem, 2.45vw, 2.75rem);
  line-height: 1.02;
  max-width: 520px;
}
.browser-stage p {
  max-width: 360px;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
  margin: 0;
}
.web-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: .35rem;
  max-width: 520px;
}
.web-cards i {
  height: clamp(28px, 5.5vw, 60px);
  background: linear-gradient(135deg, rgba(204,51,102,.75), rgba(159,32,255,.52));
  border: 1px solid rgba(255,255,255,.14);
}
.monitor-guides { position: absolute; inset: 9%; border: 1px solid rgba(255,255,255,.23); pointer-events: none; }
.monitor-guides i:first-child { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid rgba(255,255,255,.12); }
.monitor-guides i:last-child { position: absolute; top: 50%; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.12); }
.monitor-video-layer.playing ~ .monitor-guides { opacity: 0; }
.monitor-timecode { position: absolute; right: 12px; bottom: 10px; padding: .35rem .5rem; background: rgba(0,0,0,.78); color: white; font: .58rem monospace; }
.monitor-controls { display: flex; align-items: center; justify-content: center; gap: .8rem; background: #211e21; color: #8e878d; font: .65rem monospace; }
.monitor-controls button {
  width: 28px; height: 26px; display: grid; place-items: center;
  border: 0; background: transparent; color: #989097; cursor: pointer; font: inherit;
  transition: color .2s ease, background .2s ease;
}
.monitor-controls button:hover { color: white; background: rgba(159,32,255,.18); }
.monitor-controls b { color: #c6bec5; }.monitor-controls small { position: absolute; margin-left: 42%; }
.monitor-play-link { padding: 0; border: 0; background: transparent; color: var(--text); cursor: pointer; font: inherit; }
.scene-deck { position: relative; min-height: 0; overflow: hidden; }
.editor-workspace .focus-scene {
  position: absolute;
  inset: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: .75rem 2vw;
  opacity: 0;
  visibility: hidden;
  filter: blur(14px);
  transform: scale(.88) translateX(7%);
  transition: opacity .55s ease, filter .65s ease, transform .65s cubic-bezier(.2,.75,.2,1), visibility .55s;
}
.editor-workspace .focus-scene.active {
  opacity: 1;
  visibility: visible;
  filter: blur(0);
  transform: scale(1.035) translateX(0);
}
.editor-workspace .focus-scene h2 { font-size: clamp(3rem,4.7vw,5.6rem); margin: .8rem 0 1rem; }
.editor-workspace .focus-scene > p:not(.section-number) { max-width: 630px; color: var(--muted); line-height: 1.7; }
.scene-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.horizontal-timeline {
  min-width: 0;
  display: grid;
  grid-template-columns: 78px 1fr;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.timeline-tools {
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  border-right: 1px solid var(--line); color: var(--muted); font: .58rem monospace;
}
.timeline-tools b { color: var(--pink); font-size: .5rem; writing-mode: vertical-rl; transform: rotate(180deg); }
.timeline-viewport { position: relative; min-width: 0; overflow: hidden; }
.timeline-ruler {
  height: 25px; display: flex; justify-content: space-between; padding: 6px 12px 0;
  color: var(--muted); border-bottom: 1px solid var(--line); font: .52rem monospace;
}
.timeline-tracks {
  position: absolute; inset: 25px 0 0;
  width: 220%;
  transform: translateX(var(--timeline-shift, 0%));
  transition: transform .08s linear;
  background:
    repeating-linear-gradient(to right, transparent 0 69px, color-mix(in srgb, var(--text) 5%, transparent) 70px),
    repeating-linear-gradient(to bottom, transparent 0 48px, var(--line) 49px);
}
.editor-workspace .timeline-clip {
  position: absolute;
  top: 10px;
  right: auto;
  left: auto;
  width: 18%;
  min-height: 62px;
  padding: .65rem .8rem;
  border: 0;
  border-left: 4px solid rgba(255,255,255,.55);
  color: #fff;
  text-align: left;
  cursor: pointer;
  font: 600 .62rem monospace;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
  z-index: 7;
}
.editor-workspace .timeline-clip b, .editor-workspace .timeline-clip small { display: block; }
.editor-workspace .timeline-clip small { margin-top: .7rem; opacity: .7; }
.editor-workspace .timeline-clip:not(.active) { filter: blur(2.2px) saturate(.55); opacity: .48; transform: scale(.94); }
.editor-workspace .timeline-clip.active { filter: none; opacity: 1; transform: scale(1.04); box-shadow: 0 12px 30px rgba(204,51,102,.25); }
.editor-workspace .clip-video { left: 2%; background: linear-gradient(90deg,#922b67,#c5357a); }
.editor-workspace .clip-photo { left: 22%; background: linear-gradient(90deg,#523a83,#7757be); }
.editor-workspace .clip-retouch { left: 42%; background: linear-gradient(90deg,#963351,#c14a75); }
.editor-workspace .clip-web { left: 62%; background: linear-gradient(90deg,#7041aa,#c035b1); }
.editor-workspace .clip-social { left: 82%; background: linear-gradient(90deg,#632677,#9638b4); }
.editor-workspace .audio-wave {
  position: absolute; top: 92px; height: 30px; left: 4%; width: 47%;
  background: repeating-linear-gradient(90deg, #9f449f 0 2px, transparent 2px 7px);
}
.editor-workspace .wave-b { left: 53%; width: 45%; }
.editor-workspace .playhead {
  position: absolute;
  top: 25px; bottom: 0; left: var(--playhead, 0%);
  width: 1px; height: auto;
  background: #ff477d;
  z-index: 8;
  transition: none;
}
.editor-workspace .playhead i { left: -6px; top: -1px; width: 12px; height: 12px; }
.editor-workspace .playhead span { top: 5px; left: 7px; right: auto; white-space: nowrap; }
.timeline-scrubber {
  position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 28px;
  border: 0; opacity: 0; cursor: ew-resize; z-index: 6;
}
.editor-hint { margin: .55rem 0 0; color: var(--muted); text-align: center; font: .58rem monospace; letter-spacing: .08em; }

/* Dark mode remains continuous across sections */
.process {
  background: var(--bg-soft);
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.process .section-number { color: var(--pink); }
.process-head p, .process-list p { color: var(--muted); }
.process-list { border-color: var(--line); }
.process-list li { border-color: var(--line); }
.demo { background: radial-gradient(circle at 15% 20%, rgba(159,32,255,.16), transparent 32%), var(--bg-soft); }
.demo-form { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.demo-form input, .demo-form textarea, .demo-form select { color: var(--text); border-color: var(--line); }
.demo-form option { background: var(--surface); color: var(--text); }
.upload-zone { border-color: var(--line); }

html[data-theme="light"] body,
html[data-theme="light"] .edit-sequence,
html[data-theme="light"] .editor-workspace { background-color: var(--bg); }
html[data-theme="light"] .site-header.scrolled { background: rgba(241,237,240,.94); }
html[data-theme="light"] .site-header nav { color: #5e565d; }
html[data-theme="light"] .hero-glow { opacity: .55; }
html[data-theme="light"] .program-monitor { border-color: rgba(35,25,34,.25); }
html[data-theme="light"] .contact { background: linear-gradient(145deg,#d07bb1,#a56dc4 55%,#e7dde6); color: #171317; }
html[data-theme="light"] .contact-note { color: #4f3c4a; }

.cookie-banner {
  position: fixed; z-index: 30; left: 50%; bottom: 22px; transform: translateX(-50%);
  width: min(680px, calc(100% - 32px));
  display: grid;
  gap: 1.1rem;
  align-items: start;
  padding: 1.5rem;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 25px 90px rgba(0,0,0,.45);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: clamp(1.8rem,4vw,3rem); margin: .45rem 0; max-width: 420px; }
.cookie-banner p:not(.section-number) { max-width: 520px; color: var(--muted); line-height: 1.6; margin: 0 0 .5rem; font-size: .88rem; }
.cookie-banner a { color: var(--pink); font-size: .75rem; text-decoration: underline; }
.cookie-options {
  margin-top: 1rem;
  display: grid;
  gap: .65rem;
}
.cookie-options[hidden] { display: none; }
.cookie-options label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .15rem .65rem;
  align-items: start;
  padding: .75rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.cookie-options input { margin-top: .15rem; accent-color: var(--pink); }
.cookie-options span { font-weight: 800; }
.cookie-options small { grid-column: 2; color: var(--muted); line-height: 1.45; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }
.cookie-settings, .cookie-necessary, .cookie-save { background: transparent; color: var(--text); border: 1px solid var(--line); }

@media (min-width: 721px) and (max-width: 905px) {
  .edit-sequence { height: 420vh; }
  .editor-workspace {
    padding: 76px 3vw 14px;
    grid-template-rows: 34px minmax(0,1fr) 170px 24px;
  }
  .editor-main {
    grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
    gap: 2.5vw;
    padding: 1.4vh 0;
  }
  .program-monitor, .scene-deck { min-width: 0; min-height: 0; }
  .editor-workspace .focus-scene { padding: .5rem 0; }
  .editor-workspace .focus-scene.active { transform: scale(1); }
  .editor-workspace .focus-scene h2 { font-size: clamp(2.2rem,5vw,3.6rem); margin: .5rem 0 .8rem; }
  .editor-workspace .focus-scene > p:not(.section-number) { font-size: .88rem; line-height: 1.55; }
  .editor-workspace .focus-scene .pill-list { margin-bottom: .7rem; }
  .editor-workspace .focus-scene .pill-list li { padding: .45rem .75rem; }
  .editor-workspace .focus-scene .button { padding: .85rem 1.15rem; }
  .horizontal-timeline { grid-template-columns: 52px 1fr; }
  .timeline-tools b { display: none; }
}

@media (max-width: 720px) {
  .edit-sequence { height: 440vh; }
  .editor-workspace {
    padding: 76px 3vw 8px;
    grid-template-rows: 32px minmax(0,1fr) 132px 24px;
  }
  .editor-main {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(175px,28vh) minmax(0,1fr);
    gap: .65rem;
    padding: 1vh 0;
  }
  .editor-workspace.video-expanded .editor-main { grid-template-columns: 1fr; }
  .editor-workspace.video-expanded .program-monitor { aspect-ratio: 21 / 9; }
  .program-monitor, .scene-deck { min-height: 0; min-width: 0; }
  .editor-workspace .focus-scene {
    padding: .25rem 2vw;
    justify-content: center;
  }
  .editor-workspace .focus-scene.active { transform: scale(1); }
  .editor-workspace .focus-scene h2 { font-size: clamp(2rem,8vw,3rem); margin: .35rem 0 .65rem; }
  .editor-workspace .focus-scene > p:not(.section-number) { font-size: .8rem; line-height: 1.45; margin: .25rem 0 .7rem; }
  .editor-workspace .focus-scene .pill-list { margin-bottom: .65rem; gap: .4rem; }
  .editor-workspace .focus-scene .pill-list li { padding: .4rem .7rem; }
  .editor-workspace .focus-scene .button { padding: .8rem 1rem; }
  .monitor-play-link { display: none; }
  .horizontal-timeline { grid-template-columns: 42px 1fr; }
  .timeline-tools b { display: none; }
  .editor-hint { margin-top: .35rem; }
}

@media (max-width: 900px) {
  .cookie-banner { grid-template-columns: 1fr; gap: 1rem; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .button { flex: 1; }
  .marquee { margin-top: -72px; }
  .scroll-cue { top: 6px; }
}

@media (max-width: 600px) {
  .theme-label { display: none; }
  .header-actions { gap: .5rem; }
  .editor-workspace .timeline-clip { width: 18%; font-size: .47rem; padding: .45rem; }
  .editor-workspace .timeline-clip small { display: none; }
  .portfolio-tape { grid-template-columns: 1fr; }
  .portfolio-tape-copy { grid-column: auto; }
  .portfolio-tape figure { border-left: 0; }
  .shop-category-head { grid-template-columns: 1fr; padding: 1.25rem; }
  .price-table { display: block; overflow-x: auto; white-space: nowrap; }
  .price-table th, .price-table td { padding: .75rem; }
  .cookie-actions { flex-direction: column; }
}

@media (max-width: 430px) {
  .editor-workspace { padding-top: 70px; grid-template-rows: 32px minmax(0,1fr) 125px 28px; }
  .editor-main { grid-template-rows: minmax(165px,25vh) minmax(0,1fr); gap: .5rem; }
  .editor-workspace .focus-scene .section-number { display: none; }
  .editor-workspace .focus-scene h2 { font-size: 8.4vw; }
  .editor-workspace .focus-scene > p:not(.section-number) { font-size: .75rem; line-height: 1.4; }
  .editor-workspace .focus-scene .pill-list li { font-size: .65rem; }
  .scene-actions { gap: .5rem; }
  .editor-workspace .focus-scene .button { width: auto; padding: .75rem .9rem; font-size: .82rem; }
}
