/* Vika & Phil — site styles. Every colour, radius and shadow comes from tokens.css (Vika Phil Design System). */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg-page); color: var(--fg-primary); font-family: var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--color-black); }
a:hover { color: var(--color-pink); }
:focus-visible { outline: 2px solid var(--color-black); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header & menu ---------- */
.header { background: var(--bg-page); border-bottom: 1px solid var(--color-grey-light); position: relative; z-index: 10; }
.header__in { max-width: 1280px; margin: 0 auto; padding: 0 48px; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-family: var(--font-display); font-size: 20px; color: var(--fg-primary); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.nav a { color: var(--fg-primary); text-decoration: none; padding: 14px 0; }
.nav a[aria-current="page"], .nav a:hover { color: var(--color-pink); }
.burger { display: none; background: none; border: none; color: var(--color-pink); font-size: 36px; line-height: 1; min-width: 44px; min-height: 44px; cursor: pointer; }
.menu { position: fixed; inset: 0; z-index: 50; background: var(--bg-menu); display: flex; flex-direction: column; justify-content: center; padding: 40px 56px; }
.menu[hidden] { display: none; }
.menu__close { position: absolute; top: 16px; left: 24px; background: none; border: none; color: var(--color-pink); font-size: 28px; min-width: 44px; min-height: 44px; cursor: pointer; }
.menu nav { display: flex; flex-direction: column; gap: 12px; }
.menu a { font-size: clamp(28px, 5vw, 48px); text-decoration: none; padding: 6px 0; }
@media (max-width: 760px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__in { padding: 0 20px; }
}

/* ---------- layout ---------- */
.main { max-width: 1120px; margin: 0 auto; padding: 64px 48px 60px; }
.wide { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 760px) { .main { padding: 40px 20px 48px; } .wide { padding: 0 20px; } }
.page-title { margin: 0 0 12px; font-size: clamp(24px, 4vw, 42px); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; text-align: center; }
.page-lead { margin: 0 auto var(--space-2xl); max-width: 560px; text-align: center; color: var(--fg-secondary); font-size: 16px; line-height: 1.5; }
.section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: var(--space-lg); border-top: 2px solid var(--color-black); }
.section-head h2 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.text-link { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }

/* ---------- buttons ----------
   Four levels, one look each (see README → "Buttons"):
   1. .btn-cta      — the main action. Colour fill + glow, display font. ONE per screen.
   2. .btn--black / .btn--white — moving around the site (← Works, Next →). Flat, small caps, no glow.
   3. .btn--outline — secondary actions (Telegram, WhatsApp, Watch film). Black outline, fills black on hover, never grows.
   4. .arrow        — round arrows for carousels and galleries. White, black outline, yellow on hover.
   Filled buttons grow slightly on hover; outlined ones change colour instead. */
.btn-cta { display: inline-block; font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px); line-height: 1; color: var(--fg-on-blue); background: var(--accent-primary); border: none; border-radius: var(--radius-pill); padding: 20px 48px; text-decoration: none; box-shadow: var(--shadow-pink-glow); cursor: pointer; }
.btn-cta:hover { color: var(--fg-on-blue); }
.btn { display: inline-block; padding: 16px 36px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; }
.btn--white { background: var(--color-white); color: var(--color-black); }
.btn--black { background: var(--color-black); color: var(--color-white); }
.btn--black:hover { color: var(--color-white); }
.btn--white:hover { color: var(--color-black); }
.btn--outline { background: transparent; color: var(--color-black); border: 2px solid var(--color-black); padding: 14px 34px; transition: background .15s ease, color .15s ease; }
.btn--outline:hover { background: var(--color-black); color: var(--color-white); }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--color-black); background: var(--color-white); color: var(--color-black); font-size: 22px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.arrow:hover { background: var(--color-yellow); }

/* gentle hover lift for cards and filled buttons (outlined buttons change colour instead) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card, .btn-cta, .btn, .bio { transition: transform .2s ease; }
  .card:hover, .btn-cta:hover, .btn:hover, .bio:hover { transform: scale(1.03); }
  .btn--outline:hover { transform: none; }
}

/* ---------- project card ---------- */
.card { display: flex; flex-direction: column; border-radius: var(--radius-card-sm); overflow: hidden; text-decoration: none; color: var(--fg-primary); }
.card:hover { color: var(--fg-primary); }
.card__thumb { aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 12px; text-align: center; font-family: var(--font-display); font-size: 18px; background-repeat: no-repeat; }
.card__body { padding: 14px 16px 16px; background: var(--bg-card-yellow); flex-grow: 1; }
.card__title { display: block; margin-bottom: 6px; font-family: var(--font-display); font-size: 20px; font-weight: 400; line-height: 1.2; color: var(--color-black); }
.card__meta { font-size: 12px; line-height: 1.5; color: var(--fg-secondary); }
.card__tags { margin-top: 6px; font-size: 12px; line-height: 1.5; font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 36px 28px; }

/* ---------- carousels ---------- */
.track { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 16px 24px 56px 32px; margin: 0 -24px 0 -32px; scroll-padding-left: 32px; }
.track::-webkit-scrollbar { display: none; }
.track > * { scroll-snap-align: start; }
.track--4 > * { flex: 0 0 calc((100% - 56px - 3 * 28px) / 4); }
.track--wide > * { flex: 0 0 calc((100% - 56px - 2 * 28px) / 2.6); }
@media (max-width: 1000px) { .track--4 > * { flex-basis: calc((100% - 56px - 28px) / 2); } }
@media (max-width: 760px) { .track--wide > *, .track--4 > * { flex-basis: calc(100% - 56px - 40px); } }
.carousel-arrows { display: flex; align-items: center; gap: 12px; }
.card-all { display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; border: 2px solid var(--color-black); border-radius: var(--radius-card-sm); background: var(--color-white); font-family: var(--font-display); font-size: 24px; line-height: 1.2; text-decoration: none; color: var(--color-black); }
.card-all:hover { background: var(--color-yellow); color: var(--color-black); }

/* ---------- home ---------- */
.hero { max-width: 1290px; margin: 0 auto; padding: 48px 24px 0; }
.hero img { width: 100%; max-width: 1100px; height: auto; margin: 0 auto; }
.hero h1 { margin: var(--space-xl) auto 0; max-width: 820px; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.2; }
.hero p { margin: var(--space-md) auto 0; max-width: 560px; text-align: center; font-size: 15px; line-height: 1.6; color: var(--fg-secondary); }
.showreel { max-width: 1100px; margin: var(--space-2xl) auto 0; padding: 0 24px; }
.showreel__box { aspect-ratio: 16 / 9; background: var(--color-black); border-radius: var(--radius-card-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-md); color: var(--color-white); text-align: center; padding: 24px; box-shadow: var(--shadow-pink-glow); overflow: hidden; }
.showreel__box iframe { width: 100%; height: 100%; border: 0; }
.player--poster video { display: block; width: 100%; height: 100%; background: var(--color-black); object-fit: contain; }
.block { margin-top: var(--space-2xl); }
.marquee { overflow: hidden; margin: var(--space-lg) -48px 0; padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee ul { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 70s linear infinite; will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; white-space: nowrap; }
.marquee li { display: flex; align-items: center; }
.marquee li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-pink); margin: 0 28px; }
.marquee img { -webkit-user-drag: none; user-select: none; }
/* Pause on hover only where there is a real mouse. On phones a tap counts as hover and
   iOS Safari repaints the moving strip blank, so there the line just keeps running. */
@media (hover: hover) { .marquee:hover ul { animation-play-state: paused; } }
/* Same reason: the soft fade at the edges (a mask) on a moving strip flickers on iOS. */
@media (hover: none) { .marquee { -webkit-mask-image: none; mask-image: none; } .marquee, .marquee * { -webkit-tap-highlight-color: transparent; } }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; margin: var(--space-lg) 0 0; }
  .marquee ul { animation: none; flex-wrap: wrap; width: auto; white-space: normal; row-gap: 12px; }
  .marquee li[aria-hidden="true"] { display: none; }
}
@media (max-width: 760px) { .marquee { margin-left: -20px; margin-right: -20px; } }
.cta { text-align: center; padding: var(--space-2xl) 24px 0; }
.cta p { margin: 0 0 var(--space-lg); font-size: 15px; line-height: 1.6; color: var(--fg-secondary); }

/* ---------- what we do ---------- */
.services { margin: 0; padding: 0; list-style: none; }
.service { padding: 28px 0 0; border-top: 2px solid var(--color-black); }
.service__head { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: baseline; }
.service__num { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.service__text { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 8px 32px; align-items: baseline; }
.service__text h2 { margin: 0; font-family: var(--font-display); font-size: clamp(24px, 2.8vw, 32px); line-height: 1.15; font-weight: 400; }
.service__text p { margin: 0; font-size: 16px; line-height: 1.4; }
.service .carousel-arrows { justify-content: flex-end; margin-top: var(--space-lg); }

/* how we work: coloured step tiles joined by arrows, no numbers (services are numbered) */
.how { margin-top: var(--space-2xl); padding-top: 28px; border-top: 2px solid var(--color-black); }
.how__title { margin: 0 0 var(--space-xl); font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 400; }
.how__steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.how__step { position: relative; border-radius: var(--radius-card); padding: 20px 16px 18px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; color: var(--fg-on-accent); }
.how__step:nth-child(4n+1) { background: var(--color-yellow); }
.how__step:nth-child(4n+2) { background: var(--color-lime); }
.how__step:nth-child(4n+3) { background: var(--color-pink); }
.how__step:nth-child(4n+4) { background: var(--color-blue); color: var(--fg-on-blue); }
.how__step h3 { margin: 0; font-family: var(--font-display); font-size: 20px; line-height: 1.15; font-weight: 400; }
.how__step p { margin: 0; font-size: 13px; line-height: 1.4; }
.how__step:not(:last-child)::after { content: '→'; position: absolute; top: 50%; right: -26px; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--color-black); color: var(--color-white); font-size: 13px; line-height: 24px; text-align: center; z-index: 1; }
.how__text { margin: var(--space-xl) 0 0; max-width: 720px; font-size: 16px; line-height: 1.5; }
@media (max-width: 1000px) {
  .how__steps { grid-template-columns: 1fr; gap: 24px; }
  .how__step { min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; padding: 16px 18px; }
  .how__step p { text-align: right; max-width: 50%; }
  .how__step:not(:last-child)::after { content: '↓'; top: auto; bottom: -24px; right: auto; left: 50%; transform: translateX(-50%); }
}

/* ---------- works filter ---------- */
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto var(--space-2xl); max-width: 960px; }
.chip { font-family: var(--font-body); font-size: 14px; font-weight: 600; padding: 8px 16px; min-height: 40px; border: 2px solid var(--color-black); border-radius: var(--radius-pill); background: transparent; color: var(--color-black); cursor: pointer; }
.chip span { font-weight: 400; }
.chip[aria-pressed="true"] { background: var(--color-black); color: var(--color-white); }
.chip[aria-disabled="true"] { opacity: 0.3; cursor: default; }
.works-head { margin: 0 0 var(--space-xl); padding-top: var(--space-xl); border-top: 2px solid var(--color-black); font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.card[hidden] { display: none; }
.empty { text-align: center; color: var(--fg-secondary); }

/* ---------- project page ---------- */
.project { color: var(--color-black); }
.project__in { max-width: 900px; margin: 0 auto; padding: 40px 48px 96px; }
@media (max-width: 760px) { .project__in { padding: 24px 20px 64px; } }
.project__close { display: inline-flex; color: var(--color-black); min-width: 44px; min-height: 44px; }
.project__close:hover { color: var(--color-black); }
.player { margin-top: var(--space-lg); aspect-ratio: 16 / 9; background: var(--color-black); }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Our own poster in front of Vimeo/YouTube: cover image, film title, one round play button. */
.player--poster { position: relative; background: var(--color-black) center / cover no-repeat; border-radius: var(--radius-card-sm); overflow: hidden; }
.showreel__box:has(.player) { padding: 0; }
.showreel__box .player--poster { width: 100%; height: 100%; margin: 0; }
.player__play { position: absolute; inset: 0; width: 100%; border: 0; padding: 24px; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0) 45%); color: var(--color-white); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.player__icon { width: 59px; height: 59px; border-radius: 50%; border: 2px solid var(--color-black); background: var(--color-white); color: var(--color-black); display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; transition: background .15s ease; }
.player__play:hover .player__icon { background: var(--color-yellow); }
.player__title { position: absolute; left: 24px; bottom: 20px; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 30px); text-align: left; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.player--empty { display: flex; align-items: center; justify-content: center; color: var(--color-white); font-family: var(--font-display); font-size: 22px; padding: 24px; text-align: center; }
.watch { margin-top: 12px; }
.project h1 { margin: var(--space-xl) 0 var(--space-md); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12; font-weight: 500; }
.ptags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 var(--space-lg); padding: 0; list-style: none; }
.ptags a { display: inline-block; padding: 6px 14px; min-height: 36px; border: 2px solid var(--color-black); border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; text-decoration: none; color: var(--color-black); transition: background .15s ease, color .15s ease; }
.ptags a:focus-visible { background: var(--color-black); color: var(--color-white); }
@media (hover: hover) { .ptags a:hover { background: var(--color-black); color: var(--color-white); } } /* no sticky black tag after a tap on phones */
.project__desc { margin: 0 0 var(--space-lg); max-width: 640px; font-size: 18px; line-height: 1.6; }
.credits { margin: 0; padding: 0; list-style: none; font-size: 18px; line-height: 1.75; }
.credits a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.credits .strong { font-weight: 700; }
.project h2 { margin: var(--space-2xl) 0 var(--space-lg); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.episodes { margin: 0; padding-left: 1.4em; font-size: 18px; line-height: 1.75; }
.stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.stills--top { margin-top: var(--space-lg); }
.stills > [data-clone], .sketches > [data-clone] { display: none; } /* copies for the endless phone strips (site.js) */
.still { aspect-ratio: 16 / 9; border: 0; padding: 0; width: 100%; border-radius: var(--radius-card-sm); background: var(--color-white) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 20px; }
.project__nav { margin-top: var(--space-2xl); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-md); }
.gallery { margin-top: var(--space-lg); }
.gallery__stage { position: relative; aspect-ratio: 4 / 3; max-width: 100%; margin-inline: auto; background: var(--color-white) center / cover no-repeat; transition: aspect-ratio .25s ease; border-radius: var(--radius-card-sm); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery__label { font-family: var(--font-display); font-size: 32px; text-align: center; padding: 0 96px; }
.gallery__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--color-black); background: var(--color-white); color: var(--color-black); cursor: pointer; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.gallery__btn:hover { background: var(--color-yellow); }
.gallery__btn--prev { left: 16px; } .gallery__btn--next { right: 16px; }
.gallery__count { position: absolute; right: 16px; bottom: 16px; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--color-black); color: var(--color-white); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.gallery__dots { display: flex; justify-content: center; margin-top: var(--space-sm); }
.gallery__dots button { width: 44px; height: 44px; border: none; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.gallery__dots span { display: block; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--color-black); }
.gallery__dots button[aria-current="true"] span { background: var(--color-black); }

/* ---------- about & contacts ---------- */
.panel { position: relative; z-index: 2; margin: -80px auto 60px; max-width: 700px; background: var(--bg-card-green); border-radius: var(--radius-card); padding: clamp(32px, 7vw, 56px) clamp(20px, 6vw, 64px); }
.panel h1, .panel h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.panel p { margin: 0; font-size: 15px; line-height: 1.65; }
.bios { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; padding: 0 20px 60px; }
.bio { border-radius: var(--radius-card); padding: 44px 40px; width: 300px; }
.bio img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 20px; background: var(--color-white); }
.bio h2 { margin: 0 0 14px; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1.1; color: var(--fg-name); }
.bio p { margin: 0; font-size: 13px; line-height: 1.7; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field textarea { font: inherit; font-size: 15px; padding: 14px 20px; border: 2px solid var(--color-black); border-radius: var(--radius-card-sm); background: var(--color-white); color: var(--fg-primary); }
.field textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: inherit; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-md); }

/* ---------- footer ---------- */
.footer { background: var(--color-black); color: var(--color-white); margin-top: var(--space-2xl); }
.footer__in { max-width: 1280px; margin: 0 auto; padding: 48px 64px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px; }
.footer__brand { font-family: var(--font-display); font-size: 28px; margin-bottom: 12px; }
.footer p { margin: 0; font-size: 12px; line-height: 1.6; color: var(--color-grey-mid); max-width: 220px; }
.footer h2 { margin: 0 0 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-pink); }
.footer a { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--color-grey-mid); text-decoration: none; padding: 5px 0; }
.footer a:hover { color: var(--color-pink); }
.footer__bottom { border-top: 1px solid var(--fg-secondary); }
.footer__bottom div { max-width: 1280px; margin: 0 auto; padding: 16px 64px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--color-grey-mid); }
.footer__bottom a { display: inline; padding: 0; font-family: var(--font-display); font-size: 14px; color: var(--color-pink); }
@media (max-width: 760px) { .footer__in, .footer__bottom div { padding-left: 20px; padding-right: 20px; } }

/* fixes */
.project + .footer { margin-top: 0; }
@media (max-width: 760px) {
  .track { margin: 0 -20px; padding: 16px 20px 56px; scroll-padding-left: 20px; }
}

/* call to action on project pages */
.project-cta { margin-top: var(--space-2xl); padding: var(--space-xl) 0 0; border-top: 2px solid var(--color-black); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.project-cta p { margin: 0; max-width: 460px; font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.project-cta + .project__nav { margin-top: var(--space-xl); }

/* 'Worked with': a still list — the awards strip above is the only moving line on the page */
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; margin: var(--space-lg) 0 0; padding: 0; list-style: none; font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; }
.partners li { display: flex; align-items: center; }
.partners li:not(:last-child)::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-pink); margin: 0 20px; }
/* 'Worked with': running line of one-colour logos (names where no logo was found) */
.marquee--logos ul { align-items: center; animation-duration: 80s; }
.marquee--logos li { margin-right: 56px; }
.marquee--logos li::after { display: none; }
.marquee--logos img { display: block; height: var(--h, 44px); width: auto; }
.marquee__name { font-family: var(--font-display); font-size: 26px; white-space: nowrap; }
@media (max-width: 760px) { .marquee--logos li { margin-right: 36px; } .marquee--logos img { height: calc(var(--h, 44px) * .75); } .marquee__name { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .marquee--logos ul { row-gap: 24px; } }
/* client / producer logos under a project's credits */
.project-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin: var(--space-md) 0 0; padding: 0; list-style: none; }
.project-logos img { display: block; height: calc(var(--h, 44px) * .7); width: auto; }
/* awards on the home page: running plaques + full list folded underneath */
.marquee--chips ul { animation-direction: reverse; animation-duration: 60s; font-family: var(--font-body); font-size: 15px; }
.marquee--chips li::after { display: none; }
.marquee--chips li { margin-right: 12px; }
.award-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 2px solid var(--color-black); border-radius: 999px; background: var(--color-white); color: var(--color-black); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.award-chip span { color: var(--color-pink); }
@media (hover: hover) { .award-chip:hover { background: var(--color-yellow); } }
.awards-all { margin-top: var(--space-lg); }
/* About page: the full awards list, folded by default */
.about-awards { max-width: 700px; margin: 0 auto 60px; padding: 0 20px; }
.about-awards .awards-all { margin: 0; border-top: 2px solid var(--color-black); border-bottom: 2px solid var(--color-black); padding: 18px 0; }
.about-awards summary { cursor: pointer; font-size: 18px; width: 100%; justify-content: space-between; }
@media (max-width: 560px) { .awards li { grid-template-columns: 52px minmax(0, 1fr); } .awards a { grid-column: 2; text-align: left; } }
.awards-all summary { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; list-style: none; }
.awards-all summary::-webkit-details-marker { display: none; }
.awards-all summary::after { content: "+"; font-size: 18px; }
.awards-all[open] summary::after { content: "−"; }
.awards { margin: var(--space-lg) 0 0; padding: 0; list-style: none; }
.awards li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--color-grey-mid); font-size: 16px; line-height: 1.4; }
.awards__year { font-family: var(--font-display); font-size: 20px; font-variant-numeric: tabular-nums; }
.awards a { font-size: 14px; font-weight: 600; text-align: right; }
@media (max-width: 760px) { .awards li { grid-template-columns: 52px minmax(0, 1fr); } .awards a { grid-column: 2; text-align: left; } }

/* Custom cursor: Vika's pixel hand. The click point (7 3) is the fingertip.
   Text fields keep the normal text cursor; disabled chips keep the default arrow. */
html, a, button, label, summary, [role="button"], .chip, .arrow, .btn-cta, .burger, .menu__close, .gallery__btn, .gallery__dots button, .player__play, button.still, .sketches img, .lightbox__btn {
  cursor: url(../img/cursor.png) 7 3, auto;
}
input, textarea { cursor: text; }

/* Rule: a button never takes the colour of the page behind it, and its glow never matches the page either.
   Project pages rotate lime / blue / yellow / pink backgrounds. */
/* On blue pages the CTA stays coloured (yellow), so it never looks like the black "Next" button below it. */
.project--blue .btn-cta { background: var(--color-yellow); color: var(--color-black); }
.project--blue .btn-cta:hover { color: var(--color-black); }
.project--pink .btn-cta { box-shadow: var(--shadow-purple-glow); }

/* Sketches: shown whole, in their own proportions (no cropping), as a two-column masonry. */
.sketches { columns: 2 280px; column-gap: var(--space-lg); }
.sketches--wide { columns: 2 420px; } /* character turnarounds are long strips: wider columns */
.sketches img { display: block; width: 100%; height: auto; margin: 0 0 var(--space-lg); border-radius: var(--radius-card-sm); break-inside: avoid; background: var(--color-white); }

/* Stills: 3-column grid on desktop, swipeable strip on phones (next frame peeks in from the right). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  button.still, .sketches img { transition: transform .2s ease; }
  button.still:hover, .sketches img:hover { transform: scale(1.03); }
}
@media (max-width: 640px) {
  .stills { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; scrollbar-width: none; }
  .stills::-webkit-scrollbar { display: none; }
  .stills > .still { flex: 0 0 84%; scroll-snap-align: start; }
  .stills > [data-clone] { display: flex; }
  /* sketches: same swipe strip, every image the same width, its own height (no white fields) */
  .sketches, .sketches--wide { columns: auto; display: flex; align-items: center; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; scrollbar-width: none; }
  .sketches::-webkit-scrollbar { display: none; }
  .sketches > img, .sketches > [data-clone] { display: block; flex: 0 0 84%; width: 84%; height: auto; margin: 0; scroll-snap-align: start; }
}

/* Lightbox: full-screen viewer for stills and sketches. Arrows are level-4 buttons (see README → Buttons). */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.97); display: flex; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-card-sm); background: var(--color-white); }
.lightbox__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--color-black); background: var(--color-white); color: var(--color-black); font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; } /* display:flex above would otherwise override the hidden attribute */
@media (hover: hover) { .lightbox__btn:hover { background: var(--color-yellow); } }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__close { right: 16px; top: 16px; }
.lightbox__count { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); color: var(--color-white); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
@media (max-width: 640px) { .lightbox { padding: 64px 12px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 12px; transform: none; } }

/* Works: count on the left, newest / oldest switch on the right */
.works-bar { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px; }
.sort { display: inline-flex; border: 2px solid var(--color-black); border-radius: 999px; overflow: hidden; }
.sort__btn { padding: 8px 16px; border: 0; background: transparent; color: var(--color-black); font: inherit; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sort__btn[aria-pressed="true"] { background: var(--color-black); color: var(--color-white); }
.works-bar { margin-bottom: var(--space-lg); }
.works-bar .works-head { margin-bottom: 0; }

/* contact form: spam trap field, invisible to people */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* About: awards and press as open lists */
.about-list { max-width: 700px; margin: 0 auto 56px; padding: 0 20px; }
.about-list h2 { margin: 0 0 16px; padding-top: 18px; border-top: 2px solid var(--color-black); }
.press { list-style: none; margin: 0; padding: 0; }
.press li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.15); font-size: 16px; line-height: 1.45; }
.press__link { color: inherit; text-decoration: none; }
.press__outlet { font-weight: 700; }
@media (hover: hover) { .press__link:hover { text-decoration: underline; } }
@media (max-width: 560px) { .press li { grid-template-columns: 52px minmax(0, 1fr); } }
/* press quote on a project page */
.quote { max-width: 40em; margin: var(--space-md) 0; padding-left: 20px; border-left: 4px solid var(--color-black); }
.quote p { margin: 0 0 6px; font-size: 22px; line-height: 1.35; }
.quote cite { font-style: normal; font-size: 14px; }
.quote cite a { color: inherit; }

/* Cards: no coloured glow at rest — the work speaks. On a mouse hover the card lifts and
   shows its section glow; the main button keeps its glow everywhere. */
.card { transition: transform .2s ease, box-shadow .2s ease; box-shadow: none; }
@media (hover: hover) { .card:hover { transform: translateY(-4px); box-shadow: var(--glow); } }

/* ---------- Reviews: quote cards linking to the original article ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 48px var(--space-lg); margin: 0; padding: 0; list-style: none; }
.reviews li { display: flex; }
.review { position: relative; display: flex; flex-direction: column; width: 100%; padding: 28px 24px 20px; background: var(--color-white); color: var(--color-black); border: 2px solid var(--color-black); border-radius: var(--radius-card); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.review:hover { color: var(--color-black); }
.review__mark { position: absolute; top: -26px; left: 18px; width: 52px; height: 52px; border-radius: 50%; background: var(--color-yellow); border: 2px solid var(--color-black); font-family: var(--font-display); font-size: 56px; line-height: 1; display: flex; align-items: flex-start; justify-content: center; padding-top: 10px; }
.review__quote { display: block; margin-top: 40px; font-family: var(--font-display); font-size: clamp(20px, 1.9vw, 22px); line-height: 1.25; quotes: none; text-wrap: pretty; }
.review__tr { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--fg-secondary); }
.review__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.review__src { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 14px; line-height: 1.35; }
.review__src strong { font-size: 16px; }
.review__src span { color: var(--fg-secondary); }
.review__go { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border: 2px solid var(--color-black); border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; letter-spacing: .04em; transition: background .15s ease; }
@media (hover: hover) { .review:hover { transform: translateY(-4px); box-shadow: var(--shadow-pink-glow); } .review:hover .review__go { background: var(--color-yellow); } }
.project h2 + .reviews { margin-top: 40px; }
.project--yellow .review__mark { background: var(--color-pink); }
.reviews:has(> li:only-child) { max-width: 480px; }

/* ---------- Festivals & awards: own block under the credits ---------- */
.fests { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--color-black); }
.fest { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: baseline; padding: 14px 0 14px 32px; border-bottom: 1px solid rgba(0,0,0,.25); }
.fest::before { content: ""; position: absolute; left: 6px; top: 22px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-black); }
.fest--win::before { display: none; }
.fest__star { position: absolute; left: 2px; top: 12px; font-size: 20px; line-height: 1; }
.fest__where { font-size: 18px; line-height: 1.4; min-width: 0; }
.fest--win .fest__where { font-weight: 700; }
.fest__what { font-size: 14px; line-height: 1.4; color: var(--fg-secondary); text-align: right; }
.fests-more summary { display: inline-block; margin-top: 14px; padding: 6px 16px; border: 2px solid var(--color-black); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; list-style: none; }
.fests-more summary::-webkit-details-marker { display: none; }
.fests-more[open] summary { display: none; }
.fests--rest { border-top: 0; }
@media (max-width: 640px) { .fest { grid-template-columns: 1fr; } .fest__what { text-align: left; } }

/* ---------- Festival laurels (our own, drawn in build.mjs) ---------- */
.laurels { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; margin: 28px 0 8px; padding: 0; list-style: none; color: var(--color-black); }
.laurel { display: flex; align-items: center; gap: 0; }
.laurel__b { width: 46px; height: 96px; flex: none; }
.laurel__b--r { transform: scaleX(-1); }
.laurel__t { display: flex; flex-direction: column; align-items: center; text-align: center; width: 118px; }
.laurel__s { font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.25; }
.laurel__n { margin: 3px 0 2px; font-family: var(--font-display); font-size: 17px; line-height: 1.08; text-wrap: balance; }
.laurel__y { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.laurel--win .laurel__s::before { content: "★ "; }
@media (max-width: 640px) { .laurels { gap: 16px 12px; } .laurel__t { width: 104px; } .laurel__b { width: 36px; height: 76px; } .laurel__n { font-size: 15px; } }
.laurel__b { margin-right: -8px; } .laurel__b--r { margin: 0 0 0 -8px; }
.card__thumb--video { position: relative; padding: 0; overflow: hidden; }
.card__thumb--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .card__thumb--video video { display: none; } }

/* ---------- Press (About) ---------- */
.press__group { margin: 28px 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-secondary); }
.press li { grid-template-columns: 64px minmax(0, 1fr) auto; align-items: baseline; }
.press__link { display: flex; flex-direction: column; gap: 2px; }
.press__link:hover .press__title { text-decoration: underline; text-underline-offset: 3px; }
.press__title { color: var(--fg-secondary); }
.press__lang { font-size: 12px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 640px) { .press li { grid-template-columns: 48px minmax(0, 1fr) auto; } }
