/* Pixignite Solutions — site styles */

/* Layout: light brand one-pager. White ground, lavender bands, 1200px column; the silk wave drifts behind hero and contact; the three logo dots colour-code the three studios. Single light look by choice (matches the brand). */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f8f5fb;
  --bg-mauve: #fbf4f8;
  --ink: #2a1240;
  --text: #4d4160;
  --muted: #6c6080;
  --line: #ece4f2;
  --line-strong: #cdbeda;
  --purple: #4a1478;
  --purple-hover: #3a0f60;
  --dot-purple: #602c84;
  --dot-mauve: #a8608e;
  --dot-lavender: #9c74b0;
  --mauve-ink: #8a4572;
  --lavender-ink: #6b4a85;
  --plum: #2a1240;
  --plum-line: #4a2e62;
  --on-plum: #ddd1e7;
  --on-purple: #ffffff;
  --display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 84px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--purple); }
a:hover { color: var(--mauve-ink); }
:focus-visible { outline: 3px solid var(--dot-lavender); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mauve-ink); }
.dots { display: inline-flex; gap: 4px; vertical-align: middle; }
.dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.d-p { background: var(--dot-purple); } .d-m { background: var(--dot-mauve); } .d-l { background: var(--dot-lavender); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; font: 600 15.5px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--purple); color: var(--on-purple); }
.btn-primary:hover { background: var(--purple-hover); color: var(--on-purple); }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }

/* loader */
.loader { display: none; }
.js .loader { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--bg); transition: opacity .6s var(--ease), visibility .6s; }
.loader .mark { display: grid; grid-template-columns: repeat(2, 18px); gap: 8px; }
.loader .mark i { width: 18px; height: 18px; border-radius: 50%; transform: scale(0); animation: pop .5s var(--ease) forwards; }
.loader .mark i:nth-child(1) { background: var(--dot-mauve); animation-delay: .05s; }
.loader .mark i:nth-child(2) { background: var(--dot-lavender); animation-delay: .2s; }
.loader .mark i:nth-child(3) { background: var(--dot-purple); animation-delay: .35s; }
.loader.done { opacity: 0; visibility: hidden; }
/* failsafe: never leave the loader up if the script doesn't run */
.js .loader { animation: loader-out .5s ease 2.5s forwards; }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
@keyframes pop { to { transform: scale(1); } }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(42,18,64,.35); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 50px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--dot-mauve); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { min-height: 44px; padding: 0 22px; font-size: 14.5px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .menu-btn { display: inline-flex; }
  .nav-links { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px max(20px, env(safe-area-inset-right, 0px)) 20px max(20px, env(safe-area-inset-left, 0px)); background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -24px rgba(42,18,64,.4); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 4px; font-size: 17px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 8px; min-height: 50px; }
}

/* wave */
.wave-field { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.wave { position: absolute; left: -18%; width: 136%; max-width: none; height: auto; user-select: none; }
.wave-a { top: 2%; animation: driftA 16s ease-in-out infinite alternate; }
.wave-b { top: 14%; opacity: .55; animation: driftB 22s ease-in-out infinite alternate; }
@keyframes driftA { 0% { transform: translateX(-4%) scaleY(.9); } 50% { transform: translateX(1%) scaleY(1.15); } 100% { transform: translateX(4%) scaleY(.95); } }
@keyframes driftB { 0% { transform: scaleX(-1) translateX(-5%) scaleY(1.1); } 50% { transform: scaleX(-1) translateX(2%) scaleY(.85); } 100% { transform: scaleX(-1) translateX(5%) scaleY(1.2); } }

/* hero */
.silk-wave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* soft white veil keeps the headline readable over the moving wave and fades into the next section */
.hero-veil { position: absolute; inset: 0; background:
  radial-gradient(ellipse 58% 50% at 50% 48%, rgba(255,255,255,.82), rgba(255,255,255,.45) 62%, rgba(255,255,255,0) 100%),
  linear-gradient(to bottom, rgba(255,255,255,0) 78%, var(--bg)); }
.hero { position: relative; overflow: hidden; }
.hero-inner { position: relative; text-align: center; padding-block: clamp(80px, 12vw, 150px) clamp(72px, 10vw, 120px); }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); }
.hero h1 { margin-top: 26px; font-weight: 300; font-size: clamp(42px, 7.4vw, 104px); line-height: 1.04; letter-spacing: -.02em; color: var(--purple); }
.hero h1 span { display: inline-block; }
.js .hero h1 span { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(.9s + var(--i) * .16s); }
.rule { width: min(440px, 64%); height: 1px; background: var(--line-strong); margin: 34px auto; transform-origin: center; }
.js .rule { transform: scaleX(0); animation: grow 1s var(--ease) 1.5s forwards; }
.lede { max-width: 620px; margin: 0 auto; font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text); }
.hero-ctas { margin-top: 38px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.studios { margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.studios a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .25s; }
.studios a:hover { border-color: var(--line-strong); color: var(--ink); }
.studios a i { width: 10px; height: 10px; border-radius: 50%; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

/* sections */
.band { padding-block: clamp(80px, 10vw, 120px); }
.band.soft { background: var(--bg-soft); }
.sec-head { max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; display: grid; gap: 16px; }
.sec-head h2 { font-weight: 300; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.sec-head h2 strong { font-weight: 400; color: var(--purple); }
.sec-head p { font-size: 18px; }

/* studios */
.studio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 4vw, 56px); padding-block: 48px; border-top: 1px solid var(--line); }
.studio-head { display: grid; gap: 14px; align-content: start; }
.studio-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.studio-ic svg { width: 26px; height: 26px; }
.studio-label { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.studio-head h3 { font-weight: 400; font-size: clamp(28px, 3vw, 36px); line-height: 1.12; }
.studio.it .studio-ic { background: var(--dot-purple); } .studio.it .studio-label { color: var(--dot-purple); }
.studio.brand .studio-ic { background: var(--dot-mauve); } .studio.brand .studio-label { color: var(--mauve-ink); }
.studio.visual .studio-ic { background: var(--dot-lavender); } .studio.visual .studio-label { color: var(--lavender-ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 8px; align-content: start; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: 0 18px 36px -28px rgba(74,20,120,.45); }
.card h4 { font-weight: 500; font-size: 20px; }
.card .tags { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.card.feature { grid-column: 1 / -1; background: var(--bg-mauve); border-color: #eedce7; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.card.feature > div { max-width: 480px; display: grid; gap: 8px; }
.swatches { display: flex; gap: 8px; }
.swatches i { width: 42px; height: 42px; border-radius: 50%; display: block; }
@media (max-width: 820px) { .studio { grid-template-columns: minmax(0, 1fr); } }

/* screens */
.screens { background: var(--bg-soft); border-radius: 32px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(36px, 5vw, 64px); align-items: center; }
.screens-copy { display: grid; gap: 18px; }
.screens-copy h2 { font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.02em; }
.screens-copy p { font-size: 18px; }
.screens-copy .eyebrow { color: var(--lavender-ink); }
.formats { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: end; }
.formats figure { margin: 0; display: grid; gap: 10px; }
.formats figcaption { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.formats figcaption b { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.scr { border-radius: 14px; max-width: 100%; overflow: hidden; position: relative; }
.scr-portrait { aspect-ratio: 9 / 16; background: var(--bg); border: 6px solid var(--plum); padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.scr-portrait span { font: 700 10px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mauve-ink); }
.scr-portrait strong { font: 400 19px/1.1 var(--display); color: var(--ink); }
.scr-portrait em { height: 44px; border-radius: 8px; background: var(--dot-mauve); display: block; }
.scr-tv { aspect-ratio: 16 / 9; background: var(--plum); border: 8px solid var(--plum); padding: clamp(14px, 2vw, 22px); display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
.scr-tv span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #cbbcd8; }
.scr-tv strong { font: 300 clamp(20px, 2.4vw, 30px)/1.1 var(--display); }
.scr-tv strong em { font-style: normal; color: #dcbbea; }
.progress { height: 4px; background: var(--plum-line); border-radius: 2px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: #dcbbea; transform-origin: left; animation: play 8s linear infinite; }
@keyframes play { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (max-width: 900px) { .screens { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .formats { grid-template-columns: 96px minmax(0, 1fr); } .scr-portrait strong { font-size: 14px; } }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.steps li { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; display: grid; gap: 8px; align-content: start; }
.steps .num { font: 200 44px/1 var(--display); color: var(--purple); font-variant-numeric: tabular-nums; }
.steps h3 { font-weight: 500; font-size: 22px; margin-top: 8px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* work */
.work-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.work-top h2 { font-weight: 300; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 600 14px/1 var(--body); min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--purple); }
.filters button[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: var(--on-purple); }
/* two rows of three; extra columns scroll in from the right */
.work-grid { display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 4px 4px 30px; margin: -4px -4px -30px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.work-grid.one-row { grid-template-rows: auto; }
.work-item { text-decoration: none; color: var(--ink); display: grid; gap: 14px; align-content: start; scroll-snap-align: start; }
.work-nav { display: flex; gap: 8px; }
.work-nav[hidden] { display: none; }
.work-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: border-color .25s, color .25s, opacity .25s; }
.work-nav button:hover:not(:disabled) { border-color: var(--purple); color: var(--purple); }
.work-nav button:disabled { opacity: .35; cursor: default; }
.work-nav svg { width: 18px; height: 18px; }
#workPrev svg { transform: scaleX(-1); }
.work-item[hidden] { display: none; }
.thumb { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px dashed var(--line-strong); display: grid; place-items: center; color: var(--muted); font-size: 14px; position: relative; overflow: hidden; background-color: var(--bg-soft); background-image: radial-gradient(var(--line-strong) 1px, transparent 1.2px); background-size: 18px 18px; }
.thumb span { background: var(--bg); padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); }
.work-item:hover .thumb { border-color: var(--dot-lavender); }
.work-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.work-meta b { font: 500 19px/1.3 var(--display); }
.work-meta small { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.work-meta small i { width: 8px; height: 8px; border-radius: 50%; }
@media (max-width: 960px) { .work-grid { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .work-grid, .work-grid.one-row { grid-template-rows: auto; grid-auto-columns: 85%; } }

/* why */
.why { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; }
.why h2 { font-weight: 300; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.why h3 { font-weight: 500; font-size: 21px; margin-bottom: 8px; }
@media (max-width: 960px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why { grid-template-columns: minmax(0, 1fr); } }

/* contact */
.contact { position: relative; overflow: hidden; }
/* keeps the contact copy readable and blends the wave's top and bottom edges into the page */
.contact-veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(255,255,255,.8) 0%, rgba(255,255,255,.45) 42%, rgba(255,255,255,.1) 70%),
  linear-gradient(to bottom, var(--bg) 0%, rgba(255,255,255,0) 16%, rgba(255,255,255,0) 84%, var(--bg) 100%); }
.contact-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); }
.contact-copy { display: grid; gap: 20px; align-content: start; }
.contact-copy h2 { font-weight: 300; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.02em; }
.contact-copy h2 strong { font-weight: 400; color: var(--purple); }
.contact-copy p { font-size: 18px; max-width: 440px; }
.details a { color: var(--ink); text-decoration: none; } .details a:hover { color: var(--purple); }
.details { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink); font-weight: 600; }
.details li { display: flex; align-items: center; gap: 12px; }
.details svg { width: 20px; height: 20px; color: var(--dot-lavender); flex: none; }
form { background: rgba(255,255,255,.94); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; box-shadow: 0 30px 60px -48px rgba(74,20,120,.5); }
.field { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 12px; min-height: 50px; padding: 12px 16px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(156,116,176,.22); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: 14px; color: var(--lavender-ink); font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { form { grid-template-columns: minmax(0, 1fr); } }

/* footer */
.site-footer { background: var(--plum); color: var(--on-plum); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 64px 36px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.foot-logo { display: inline-block; line-height: 0; }
.foot-logo img { width: 230px; max-width: 100%; height: auto; }
.site-footer h3 { font: 700 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-plum); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid var(--plum-line); padding-block: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.foot-bottom nav { display: flex; gap: 20px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: minmax(0, 1fr); } }

/* scroll reveal: only for elements below the fold at load */
.js .reveal.pre { opacity: 0; transform: translateY(26px); }
.js .reveal { transition: opacity .8s var(--ease) calc(var(--i, 0) * 90ms), transform .8s var(--ease) calc(var(--i, 0) * 90ms); }

.js .reveal.from-left.pre { transform: translateX(-40px); }
.js .reveal.from-right.pre { transform: translateX(40px); }
.js .reveal.zoom.pre { transform: scale(.94); }

/* ---- glow layer ---- */
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --angle: 360deg; } }
.glow { position: relative; isolation: isolate; --glow-o: 1; }
.glow::before, .glow::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 52%, var(--dot-mauve) 66%, var(--dot-lavender) 78%, var(--purple) 88%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: spin 20s linear infinite; opacity: var(--glow-o); transition: opacity .45s var(--ease);
}
.glow::after { padding: 3px; filter: blur(12px); opacity: calc(var(--glow-o) * .7); z-index: -1; }
.glow.slow::before, .glow.slow::after { animation-duration: 30s; }
.glow.on-hover { --glow-o: 0; }
.glow.on-hover:hover, .glow.on-hover:focus-within { --glow-o: 1; }

/* cursor spotlight */
.card, .steps li { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, -30%), rgba(156,116,176,.14), transparent 45%); }
.steps li:hover .num { text-shadow: 0 0 22px rgba(168,96,142,.55); }
.steps li { transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.steps li:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -30px rgba(74,20,120,.5); }

/* buttons glow */
.btn-primary { position: relative; overflow: hidden; box-shadow: 0 8px 22px -12px rgba(74,20,120,.6); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn-primary:hover { box-shadow: 0 0 0 4px rgba(156,116,176,.18), 0 14px 34px -10px rgba(168,96,142,.75); transform: translateY(-2px); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost:hover { box-shadow: 0 0 24px -6px rgba(156,116,176,.55); transform: translateY(-2px); }
.studios a:hover { box-shadow: 0 0 22px -6px rgba(156,116,176,.6); transform: translateY(-2px); }
.studios a { transition: border-color .25s, box-shadow .3s, transform .3s var(--ease); }
.studios a i { box-shadow: 0 0 10px currentColor; }
.studios a i.d-p { color: var(--dot-purple); } .studios a i.d-m { color: var(--dot-mauve); } .studios a i.d-l { color: var(--dot-lavender); }

/* shimmering headline */
.shine { background: linear-gradient(90deg, var(--purple) 0%, var(--dot-mauve) 25%, var(--dot-lavender) 45%, var(--purple) 65%, var(--purple) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .16em; margin-bottom: -.16em; /* room for descenders (g, p) inside the clipped gradient */ animation: shimmer 7s linear infinite; }
.js .hero h1 span.shine { animation: rise .9s var(--ease) forwards, shimmer 7s linear infinite; animation-delay: calc(.9s + var(--i) * .16s), calc(var(--i) * -.6s); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* hero atmosphere */
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: float 18s ease-in-out infinite alternate; }
.orb.o1 { width: 420px; height: 420px; left: -120px; top: 10%; background: #e7c9dc; }
.orb.o2 { width: 380px; height: 380px; right: -100px; top: 30%; background: #d9c8ea; animation-duration: 22s; animation-direction: alternate-reverse; }
.orb.o3 { width: 300px; height: 300px; left: 40%; bottom: -160px; background: #cdb4e4; animation-duration: 26s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, -30px) scale(1.12); } 100% { transform: translate(-40px, 40px) scale(.95); } }

/* scroll progress */
.scroll-bar { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; z-index: 70; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--dot-mauve), var(--dot-lavender), var(--purple)); box-shadow: 0 0 12px rgba(168,96,142,.8); pointer-events: none; }

/* project art */
.thumb { transition: border-color .3s; }
.art { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.work-item:hover .art { transform: scale(1.06); }
.work-item .thumb { border-style: solid; border-color: var(--line); }
.work-item:hover .thumb { box-shadow: 0 24px 48px -30px rgba(74,20,120,.55); }
.thumb .chip { position: absolute; left: 12px; bottom: 12px; z-index: 2; font-size: 12px; padding: 5px 12px; }
.art-it { background: linear-gradient(140deg, #efe6f7, #f9f5fc); display: grid; place-items: center; }
.art-it .win { width: 72%; aspect-ratio: 16 / 10; background: #fff; border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(74,20,120,.45); padding: 10% 7% 7%; position: relative; display: grid; gap: 8%; align-content: start; }
.art-it .win::before { content: ""; position: absolute; top: 5%; left: 5%; width: 26px; height: 6px; border-radius: 3px; background: radial-gradient(circle 3px at 3px 3px, var(--dot-mauve) 98%, transparent) 0 0 / 10px 6px repeat-x; }
.art-it .win i { display: block; height: 10px; border-radius: 5px; background: var(--line); }
.art-it .win i:first-child { width: 60%; height: 16px; background: var(--purple); }
.art-it .win i:nth-child(2) { width: 85%; } .art-it .win i:nth-child(3) { width: 70%; }
.art-it .win b { position: absolute; right: 7%; bottom: 10%; width: 28%; aspect-ratio: 1; border-radius: 10px; background: linear-gradient(135deg, var(--dot-lavender), var(--dot-mauve)); box-shadow: 0 0 24px rgba(168,96,142,.6); }
.art-brand { background: linear-gradient(140deg, #fbf0f6, #f3e9f8); display: grid; place-items: center; }
.art-brand .lockup { display: flex; align-items: center; gap: 14px; }
.art-brand .lockup span { display: grid; grid-template-columns: repeat(2, 22px); gap: 6px; }
.art-brand .lockup span i { width: 22px; height: 22px; border-radius: 50%; }
.art-brand .lockup strong { font: 300 46px/1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.art-brand .sw { position: absolute; right: 10%; top: 12%; display: grid; gap: 6px; }
.art-brand .sw i { width: 34px; height: 12px; border-radius: 6px; }


/* ---- photo edition ---- */
.photo-wrap { margin: 0; border-radius: var(--radius); }
.photo { position: relative; overflow: hidden; border-radius: inherit; aspect-ratio: 4 / 3; max-width: 100%; background: var(--bg-soft); }
.photo img, .banner img, .screens-bg img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; transform: translateY(var(--py, 0px)) scale(1.02); transition: transform .9s var(--ease); }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(74,20,120,0) 45%, rgba(42,18,64,.55)), linear-gradient(rgba(156,116,176,.16), rgba(156,116,176,.16)); }
.photo-wrap:hover .photo img { transform: translateY(var(--py, 0px)) scale(1.08); }
.photo .tag { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink); font: 600 13px/1 var(--body); }
.photo .tag i { width: 9px; height: 9px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.studio-head .photo-wrap { margin-bottom: 10px; }

.screens.photo-bg { background: var(--plum); }
.screens-bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; }
.screens-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(42,18,64,.95) 0%, rgba(42,18,64,.85) 45%, rgba(74,20,120,.5) 100%); }
.photo-bg .screens-copy h2 { color: #ffffff; }
.photo-bg .screens-copy p { color: #e6dcef; }
.photo-bg .screens-copy .eyebrow { color: #dcbbea; }
.photo-bg .formats figcaption { color: #d8cce3; }
.photo-bg .formats figcaption b { color: #ffffff; }
.photo-bg .scr-portrait, .photo-bg .scr-tv { border-color: #5a3a78; }
.photo-bg .scr-tv { background: rgba(20,8,32,.75); }
.photo-bg .btn-primary { background: #ffffff; color: var(--purple); }
.photo-bg .btn-primary:hover { background: #f3ebf9; color: var(--purple); }

.banner { position: relative; margin: 0 0 clamp(40px, 6vw, 64px); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 8; min-height: 260px; max-width: 100%; display: flex; align-items: flex-end; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,18,64,.88) 0%, rgba(42,18,64,.55) 45%, rgba(74,20,120,.1) 100%); }
.banner figcaption { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px); max-width: 620px; display: grid; gap: 12px; color: #e6dcef; }
.banner figcaption strong { font: 300 clamp(28px, 3.6vw, 46px)/1.08 var(--display); color: #ffffff; letter-spacing: -.02em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .loader { display: none; }
  .wave, .progress i, .orb, .glow::before, .glow::after, .shine { animation: none; }
  .js .hero h1 span, .js .rule { opacity: 1; transform: none; animation: none; }
  .js .reveal.pre { opacity: 1; transform: none; }
  .photo img, .banner img, .screens-bg img { transform: none; }
}

/* utilities */
.work-heading { display: grid; gap: 14px; }
.span-all { grid-column: 1 / -1; }
.c-purple { color: var(--dot-purple); }
.c-mauve { color: var(--dot-mauve); }
.c-lavender { color: var(--dot-lavender); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* real project screenshots in the work grid */
.art-img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* real signage slides inside the showcase TV, crossfading like the live screen */
.scr-real { padding: 0; }
.scr-real .slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; animation: tv-slides 18s infinite; }
.scr-real .s2 { animation-delay: 6s; }
.scr-real .s3 { animation-delay: 12s; }
.scr-real .s1 { opacity: 1; }
.scr-real .progress { position: absolute; left: 12px; right: 12px; bottom: 8px; z-index: 2; height: 3px; background: rgba(255,255,255,.18); }
.scr-real .progress i { animation-duration: 6s; }
@keyframes tv-slides { 0% { opacity: 0; } 3% { opacity: 1; } 33% { opacity: 1; } 36% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .scr-real .slide { animation: none; opacity: 0; }
  .scr-real .s1 { opacity: 1; }
}

/* portrait signage uses the same crossfade; slimmer progress bar */
.scr-portrait.scr-real .progress { left: 8px; right: 8px; bottom: 6px; height: 2px; }

/* waiting-room TV mounted on an oak slat wall */
.tv-wall { position: relative; border-radius: 14px; overflow: hidden; padding: 8% 10% 10%; background: radial-gradient(ellipse 75% 65% at 50% 30%, rgba(255,228,186,.3), transparent 70%), linear-gradient(to bottom, rgba(0,0,0,.04), rgba(0,0,0,.38)), repeating-linear-gradient(90deg, #3a2513 0 3px, #9c6a39 3px 5px, #c08a50 5px 13px, #b47c45 13px 19px, #8d5d31 19px 22px), #a8743f; }
.tv-wall::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .4; mix-blend-mode: multiply; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .015' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .2 0 0 0 0 .08 0 0 0 1.2 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"); }
.tv-wall .scr-tv, .photo-bg .tv-wall .scr-tv { position: relative; z-index: 1; background: #0b0b0d; border: 6px solid #0b0b0d; border-radius: 6px; box-shadow: 0 0 0 1px #2c2c30, 0 16px 26px -6px rgba(20,10,0,.6), 0 34px 60px -18px rgba(20,10,0,.5); }
.tv-wall .scr-tv::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.1) 0 22%, transparent 38%); }
/* scene images (kiosk in a store) carry their own background, so no device frame */
.scr-scene { border: 0; border-radius: 14px; box-shadow: 0 18px 36px -18px rgba(0,0,0,.6); }
.scr-scene .progress { display: none; }

/* event stage render: LED wall, lights and crowd in one image */
.scr-stage { aspect-ratio: 5 / 2; background: #0b0710; }
.scr-stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
