/* pjdesros.com — rebuilt from the Wix site. Layout follows Wix's 980px content grid. */

:root {
  --white: #fff;
  --dark: #2f2e2e;      /* Wix color_37 */
  --light: #f2f2f2;     /* Wix color_38 */
  --gray: #adadac;      /* Wix color_39 */
  --mid: #605e5e;       /* Wix color_14 */
  --grid: 980px;
  --gutter: 16px;
  /* The Wix site used licensed Monotype web fonts (Helvetica W01, Avenir LT 35 Light).
     These stacks use the system Helvetica/Avenir where available, then close free fallbacks. */
  --font-light: "Helvetica Neue", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arimo, Arial, sans-serif;
  --font-bold: "Helvetica Neue", Helvetica, Arimo, Arial, sans-serif;
  --font-avenir: "Avenir", "Avenir Next", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page-bg, var(--light));
  color: #000;
  font: 300 15px/1.4 var(--font-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.page-about { --page-bg: var(--dark); }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, ul { margin: 0; font-weight: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: #000; transition: top .2s; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid #30bdff; outline-offset: 2px; }

.container { width: min(var(--grid), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

/* ---------- Pinned header (logo + menu button) ---------- */
.site-logo {
  position: fixed; z-index: 54; left: 44px; top: 45px;
  width: 291px; height: 45px; display: flex; align-items: center; justify-content: center;
  color: var(--white); font: 700 28px/1.4 var(--font-bold); letter-spacing: -0.01em; white-space: nowrap;
  transition: color .4s ease;
}
.menu-button {
  position: fixed; z-index: 53; right: 60px; top: 52px; width: 35px; height: 35px;
  display: grid; place-items: center; color: var(--white);
}
.menu-button svg { width: 35px; height: 30px; fill: currentColor; }
.site-header { height: 54px; }

/* ---------- Menu lightbox (Wix popup, FadeIn) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--dark); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 61px;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; }
.menu__close { position: absolute; right: 60px; top: 53px; width: 35px; height: 35px; color: var(--white); }
.menu__close svg { width: 100%; height: 100%; fill: currentColor; }
.menu__list { list-style: none; padding: 0 32px; display: flex; flex-wrap: wrap; justify-content: center; }
.menu__list a {
  display: block; padding: 41px 5px; min-width: 70px; text-align: center;
  font: 700 17px/1.2 var(--font-bold); white-space: nowrap; color: var(--white); transition: color .4s ease;
}
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--gray); }
.menu__list li + li a { margin-left: 22px; }
.menu__sig { width: 140px; height: auto; }
body.menu-open { overflow: hidden; }

/* ---------- Pill buttons (Wix SiteButton) ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 22px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0); background: rgba(47, 46, 46, .5);
  color: var(--white); font: 300 14px/1.4 var(--font-avenir); white-space: nowrap;
  transition: border-color .4s ease, background-color .4s ease, color .4s ease;
}
.pill:hover { border-color: var(--gray); color: var(--gray); }

/* ---------- Background media (Wix BG_LAYER / BG_MEDIA / BG_IMG) ---------- */
.bg { position: absolute; inset: 0; overflow: clip; contain: layout; z-index: 0; }
.bg__media { position: relative; height: 100%; }
.bg__media > img, .bg__media > video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Sticky reveal: media stays pinned to the viewport while its strip passes. */
.bg--sticky .bg__media { height: calc(100% + 200lvh); margin-top: -100lvh; will-change: transform; }
.bg--sticky .bg__media > img, .bg--sticky .bg__media > video {
  position: sticky; top: 0; height: max(100lvh, 100% - 200lvh);
  margin-bottom: calc(100lvh - max(100lvh, var(--comp-h, 100%)));
}
.bg--parallax .bg__media > img, .bg--parallax .bg__media > video { object-position: 50% 100%; }
.bg__fallback { position: absolute; inset: 0; }

/* ---------- Home strips ---------- */
.strip { position: relative; height: 1080px; --comp-h: 1080px; background: #000; overflow-x: clip; }
.strip--tall { height: 1113px; --comp-h: 1113px; }
.strip__cta { position: absolute; z-index: 1; left: 0; right: 0; width: max-content; margin-inline: auto; top: 800px; }
.home-anchor { position: absolute; top: 0; height: 20px; width: 1px; }

.dots {
  position: fixed; z-index: 50; right: 20px; top: 50%; translate: 0 -50%;
  width: 81px; height: 222px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end;
  padding: 0; margin: 0; list-style: none;
}
.dots a { display: flex; align-items: center; justify-content: flex-end; height: 24px; width: 40px; padding-right: 14px; }
.dots svg { width: 12px; height: 12px; fill: transparent; stroke: var(--white); stroke-width: 4px; transition: all .2s ease-in-out; overflow: visible; }
.dots a:hover svg, .dots a[aria-current="true"] svg { fill: var(--white); }

.all-projects { position: relative; background: var(--light); padding: 40px 0 134px; }
.all-projects__title { font: 300 22px/1.3 var(--font-light); color: #000; margin-bottom: 14px; padding-left: 0; }
.all-projects .container { margin-bottom: 0; }

/* ---------- Galleries ---------- */
.gallery { position: relative; }
.tile { position: relative; display: block; overflow: hidden; background: transparent; padding: 0; text-align: left; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
button.tile, a.tile { cursor: pointer; }

.gallery--grid {
  width: min(1831px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.gallery--grid .tile { aspect-ratio: 584 / 328; }
.tile__hover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: rgba(255, 255, 255, .76); color: var(--dark); opacity: 0; transition: opacity .4s ease; padding: 16px;
}
.tile:hover .tile__hover, .tile:focus-visible .tile__hover { opacity: 1; }
.tile__title { font: 300 22px/27px var(--font-light); }
.tile__desc { font: 300 18px/1.4 var(--font-light); margin-top: 8px; }

.gallery--collage { aspect-ratio: var(--ratio); }
.gallery--collage .tile { position: absolute; }
.gallery--planning { width: min(1310px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.gallery--slider { position: relative; }
.slider__track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-behavior: smooth; overscroll-behavior-x: contain; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__canvas { position: relative; margin-inline: 0; }
.slider__canvas .tile { position: absolute; }
.slider__arrow {
  position: absolute; top: calc(50% - 17px); z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center; transition: opacity .3s ease;
}
.slider__arrow svg { width: 23px; height: 39px; transform: scale(.427); fill: #000; }
.slider__arrow--prev { left: 29px; }
.slider__arrow--prev svg { transform: scaleX(-1) scale(.427); }
.slider__arrow--next { right: 29px; }
.slider__arrow[disabled] { opacity: 0; pointer-events: none; }

.gallery--videos { display: grid; gap: 56px; }
.tile--video { aspect-ratio: 947 / 533; }
.play { position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; translate: -50% -50%; transition: transform .4s ease; }
.play svg { width: 100%; height: 100%; }
.play__bg { fill: rgba(0, 0, 0, .6); }
.play__tri { fill: var(--white); }
.tile--video:hover .play { transform: scale(1.1); }

/* ---------- Lightbox (Wix pro-gallery fullscreen / expand) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 95; background: var(--white);
  display: grid; place-items: center; opacity: 0; visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s ease, visibility 0s; }
.lightbox__stage { width: 100%; height: 100%; display: grid; place-items: center; padding: 0 60px; }
.lightbox__stage img { max-width: 100%; max-height: 100vh; width: auto; height: auto; object-fit: contain; }
.lightbox__stage iframe { width: min(100%, calc(100vh * 16 / 9)); aspect-ratio: 16 / 9; border: 0; }
.lightbox__btn {
  position: absolute; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .6); color: #000; display: grid; place-items: center;
  box-shadow: 0 0 0 1px rgba(0,0,0,.04); transition: background .3s ease;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .9); }
.lightbox__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lightbox__close { top: 20px; right: 24px; }
.lightbox__prev { left: 24px; top: calc(50% - 20px); }
.lightbox__next { right: 24px; top: calc(50% - 20px); }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; font: 300 13px/1 var(--font-light); color: var(--mid); }

/* ---------- Sub-page building blocks ---------- */
.hero { position: relative; height: 462px; }
.hero__col { position: absolute; left: 0; right: 0; top: -78px; height: 540px; --comp-h: 540px; }

.page-title { font: 300 28px/normal var(--font-light); color: #000; }
.body-copy { font: 300 15px/1.4 var(--font-light); color: #000; }
.body-copy p + p { margin-top: 0; }
.credit { font: 300 15px/1.4 var(--font-light); color: var(--mid); }
.credit .muted { color: var(--gray); }
.subhead { font: 300 22px/1.4 var(--font-light); color: #000; }

.intro { padding-top: 151px; }
.intro__text { width: 352px; max-width: 100%; margin-left: 41px; }
.intro .page-title { margin-left: 41px; width: 359px; max-width: 100%; }

.media-block { width: 947px; max-width: 100%; margin-inline: auto; }
.media-block video, .media-block img { width: 100%; height: auto; }
.loop-video { aspect-ratio: 947 / 475; object-fit: cover; background: #000; }

.back-link {
  display: inline-block; font: 300 14px/1.4 var(--font-avenir); color: var(--dark); transition: color .4s ease;
}
.back-link:hover { color: var(--gray); }
.back-row { display: flex; justify-content: flex-end; width: 947px; max-width: 100%; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #fff; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: rgba(173, 173, 172, .3); }
.site-footer .container { position: relative; display: grid; grid-template-columns: 328px 356px 1fr; height: 352px; padding-top: 41px; }
.footer__lead { font: 300 22px/1.3 var(--font-light); color: #000; margin-top: 34px; width: 280px; }
.footer__copy { position: absolute; left: 0; top: 295px; font: 300 15px/1.4 var(--font-light); color: var(--mid); }
.footer__label { font: 300 15px/1.4 var(--font-light); color: #000; }
.footer__label--muted { color: var(--gray); }
.footer__email { display: inline-block; margin-top: 15px; font: 300 22px/1.3 var(--font-light); color: #000; }
.footer__email:hover { text-decoration: underline; }
.social { display: flex; gap: 14px; margin-top: 15px; list-style: none; padding: 0; }
.social img { width: 34px; height: 34px; }

/* ---------- Entrance animation (Wix TimeAnimation on CTAs/logo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-enter] { opacity: 0; translate: 0 0; }
  .js [data-enter].is-in { animation: enter-fade 1.2s var(--ease-out) both; }
  .js .strip__cta[data-enter].is-in { animation-name: enter-fade-cta; }
}
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes enter-fade-cta { from { opacity: 0; } to { opacity: 1; } }

/* Page transition (Wix "OutIn": fade out .35s, fade in .35s) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s cubic-bezier(0.22, 1, 0.36, 1) both vt-out; }
::view-transition-new(root) { animation: .35s cubic-bezier(0.64, 0, 0.78, 0) .35s both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .bg--sticky .bg__media { height: 100%; margin-top: 0; }
  .bg--sticky .bg__media > img, .bg--sticky .bg__media > video { position: static; height: 100%; margin: 0; }
}

/* ---------- Sub-page specifics ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.site-header { height: 0; }
.page-title, .intro__text, .indent { margin-left: 41px; }
.page-title { width: 359px; max-width: calc(100% - 41px); }
.intro__text { width: 352px; max-width: calc(100% - 41px); }
.subhead { width: 488px; max-width: calc(100% - 41px); }
.credit p { margin: 0; }
.body-copy ul { padding-left: 1.3em; color: #000; }
.body-copy li p { margin: 0; }

.player { width: 882px; max-width: 100%; margin-left: 49px; }
.player video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.playmaker { width: 901px; max-width: 100%; margin-left: 39px; }
.playmaker .tile { aspect-ratio: 901 / 463; }

/* Engineering: ACS Academy */
.acs { background: rgba(242, 242, 242, .8); margin-top: 20px; padding: 69px 0 176px; }
.acs__title { width: auto; margin: 0; text-align: center; max-width: none; }
.acs__lead { width: 850px; max-width: 100%; margin: 20px auto 0; text-align: center; font: 300 18px/1.8 var(--font-light); color: var(--mid); }
.acs__gallery { margin-top: 87px; }
.acs__gallery .slider__canvas { margin-left: max(var(--gutter), (100vw - var(--grid)) / 2 - 16px); margin-right: 16px; }
.acs__cols { display: grid; grid-template-columns: repeat(3, 280px); justify-content: space-between; margin-top: 78px; padding: 0 19px 0 18px; }
.acs__icon { width: 121px; height: 121px; margin: 0 auto; }
.acs__h { margin: 33px 0 0; min-height: 56px; text-align: center; font: 300 20px/1.4 var(--font-light); color: #000; }
.acs__col .body-copy { margin-top: 54px; }

/* Motion design: mockup arrow + slideshow */
.mockup { position: relative; }
.mockup__arrow { position: absolute; left: 430px; bottom: -54px; width: 113px; height: 113px; fill: #0033dd; rotate: 45.84deg; }
.slideshow { position: relative; width: 975px; max-width: 100%; margin-inline: auto; }
.slideshow__viewport { overflow: hidden; aspect-ratio: 975 / 540; background: var(--white); }
.slideshow__track { display: flex; height: 100%; transition: transform 1s cubic-bezier(0.83, 0, 0.17, 1); }
@media (prefers-reduced-motion: reduce) { .slideshow__track { transition: none; } }
.slideshow__slide { flex: 0 0 100%; height: 100%; cursor: zoom-in; }
.slideshow__slide img { width: 100%; height: 100%; object-fit: cover; }
.slideshow__arrow { position: absolute; top: calc(50% - 20px); width: 40px; height: 40px; display: grid; place-items: center; color: var(--white); filter: drop-shadow(0 0 2px rgba(0,0,0,.5)); opacity: .9; }
.slideshow__arrow svg { width: 23px; height: 39px; fill: currentColor; }
.slideshow__arrow--prev { left: 12px; }
.slideshow__arrow--prev svg { transform: scaleX(-1); }
.slideshow__arrow--next { right: 12px; }
.slideshow__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.back-row { justify-content: flex-end; }

/* Film: How I create / steps / planning / created */
.how { background: var(--gray); height: 373px; }
.how__inner { height: 100%; }
.how__title { position: absolute; left: 0; top: 119px; font: 700 56px/1.2 var(--font-bold); color: #000; }
.how__text { position: absolute; left: 487px; top: 43px; width: 436px; font: 300 16px/1.8 var(--font-light); color: #000; }
.steps { background: var(--white); }
.steps__inner { height: 1436px; }
.step { position: absolute; }
.step--1 { left: 30px; top: 58px; }
.step--2 { left: 390px; top: 500px; }
.step--3 { left: 161px; top: 950px; }
.step__num { font: 700 100px/1.2 var(--font-bold); color: #000; letter-spacing: -0.02em; }
.step__name, .step__text { margin-left: 66px; color: var(--mid); }
.step__name { margin-top: 2px; font: 300 18px/1.8 var(--font-light); }
.step__text { margin-top: 18px; width: 495px; font: 300 16px/1.8 var(--font-light); color: #000; }
.step--3 .step__text { width: 533px; }
.planning { padding: 41px 0 55px; }
.created { padding-top: 33px; }
.created__title { margin-left: 0; font: 700 55px/1.2 var(--font-bold); color: #000; }
.created .media-block { width: 947px; }

/* About */
.about { position: relative; margin-top: 125px; background: var(--light); overflow: hidden; }
.about__bg { position: absolute; inset: 0; opacity: .46; }
.about__bg img { width: 100%; height: 100%; object-fit: cover; }
.about__grid { display: grid; grid-template-columns: 441px 441px; column-gap: 89px; padding: 47px 0 140px; margin-left: max(var(--gutter), (100% - var(--grid)) / 2 - 6px); }
.about__text, .about__text h1 { font: 300 21px/1.4 var(--font-light); color: var(--dark); }
.about__sig { width: 140px; height: auto; margin-top: 40px; }
.resume {
  display: flex; align-items: center; justify-content: center; width: 191px; height: 51px; margin-top: 39px;
  background: rgba(47, 46, 46, .34); color: var(--white); font: 300 14px/1.4 var(--font-avenir); transition: background-color .4s ease;
}
.resume:hover { background: rgba(47, 46, 46, .6); }

/* ---------- Narrow screens (Wix served a separate mobile layout; this approximates it) ---------- */
@media (max-width: 1000px) {
  .page-title, .intro__text, .indent, .subhead { margin-left: 0; }
  .player, .playmaker { margin-left: 0; }
  .acs__cols { grid-template-columns: 1fr; gap: 56px; padding: 0; justify-items: center; }
  .acs__col { max-width: 520px; }
  .how { height: auto; padding: 48px 0; }
  .how__title, .how__text { position: static; width: auto; }
  .how__text { margin-top: 24px; }
  .steps__inner { height: auto; padding: 48px 0; display: grid; gap: 48px; }
  .step { position: static; }
  .step__text, .step--3 .step__text { width: auto; }
  .about__grid { grid-template-columns: 1fr; row-gap: 29px; margin-inline: auto; padding: 40px 0 80px; }
  .mockup__arrow { left: calc(50% - 56px); }
}
@media (max-width: 760px) {
  .site-logo { left: 16px; top: 20px; width: auto; height: 40px; font-size: 20px; }
  .menu-button { right: 16px; top: 22px; width: 30px; height: 30px; }
  .menu-button svg { width: 26px; }
  .menu__close { right: 16px; top: 22px; width: 28px; height: 28px; }
  .menu__list { flex-direction: column; align-items: center; }
  .menu__list a { padding: 14px 5px; }
  .menu__list li + li a { margin-left: 0; }
  .dots { right: 6px; height: 180px; }
  .strip, .strip--tall { height: 100svh; min-height: 560px; --comp-h: max(100svh, 560px); }
  .strip__cta { top: auto; bottom: 18%; }
  .gallery--grid { grid-template-columns: 1fr; gap: 16px; }
  .tile__hover { opacity: 1; background: linear-gradient(transparent 40%, rgba(255,255,255,.85)); justify-content: flex-end; }
  .tile__title { font-size: 18px; line-height: 1.3; }
  .tile__desc { font-size: 14px; margin-top: 2px; }
  .hero { height: 300px; }
  .hero__col { height: 340px; --comp-h: 340px; top: -40px; }
  .page-title { margin-top: 56px !important; }
  .gallery--collage { aspect-ratio: auto; display: grid; gap: 12px; }
  .gallery--collage .tile { position: static; width: 100% !important; height: auto !important; }
  .gallery--collage .tile img { height: auto; }
  .gallery--videos { gap: 16px; }
  .how__title, .created__title { font-size: 40px; }
  .step__num { font-size: 72px; }
  .step__name, .step__text { margin-left: 0; }
  .site-footer .container { grid-template-columns: 1fr; height: auto; gap: 28px; padding: 40px 0 72px; }
  .footer__lead { margin-top: 0; }
  .footer__copy { position: static; margin-top: 20px; }
  .acs__lead { font-size: 16px; }
  .slider__arrow { display: none; }
}
