/* Vice world: illustrated loading-screen panels, street details and scroll camera.
   All artwork is original. Scene progress is supplied by portfolio.js. */
:root {
  --paper: #fff8e9;
  --pink: #ee82b0;
  --coral: #ff966f;
  --cyan: #9fd9ca;
  --violet: #b39de4;
}

html, body { max-width: 100%; overflow-x: clip; }
body::before { display: none; }
body::after { opacity: .022; }
.site-header { background: linear-gradient(#090b10e8, #090b1000); }
.site-header.is-scrolled { background: #0b0e15ed; }
.brand__monogram {
  color: var(--paper);
  background: none;
  clip-path: none;
  box-shadow: none;
  font-style: normal;
  font-size: 29px;
  letter-spacing: -2px;
  -webkit-text-stroke: 1px var(--paper);
}
.brand__copy { letter-spacing: .08em; }
.site-nav a { font-size: 10px; color: #fff8e9bf; }
.header-cta { border: 1px solid #fff8e940; clip-path: none; }
.button { border-radius: 3px; clip-path: none; }
.button--primary { background: var(--paper); color: #12121b; box-shadow: 4px 4px 0 #ee82b0; }
.button--primary:hover { background: #f3b8ca; }
.eyebrow { color: #afdfd4; }
.eyebrow::before { border-radius: 0; box-shadow: none; transform: rotate(45deg); }

/* A personal cover, with one portrait and a visible city rather than a color wash. */
.hero { --hero-travel: 0; background: #0c1520; min-height: max(820px, 100svh); }
.hero__sky {
  inset: -6% 0;
  background: url("../img/scenes/vice-after-hours.webp") center 56% / cover;
  transform: translate3d(0, calc(var(--hero-travel) * 6%), 0) scale(1.03);
}
.hero__sky::before, .hero__sky::after, .hero::after { display: none; }
.hero::before {
  background: linear-gradient(90deg, #091019e8 0%, #091019b3 38%, #0910191f 74%),
    linear-gradient(0deg, #0a0b12 0%, transparent 22%);
}
.hero__meta { color: #fff8e9a6; width: min(550px, 43vw); }
.hero__copy { padding-top: clamp(190px, 23vh, 235px); }
.hero h1, .js .hero h1[data-reveal] {
  padding: 8px 12px 12px 0;
  overflow: visible;
  font-size: clamp(100px, 11.9vw, 182px);
  font-style: normal;
  letter-spacing: -.045em;
  line-height: .78;
  transform: none;
}
.hero h1 span:first-child, .hero h1 span:last-child {
  color: #fff8e9;
  background: none;
  -webkit-text-stroke: 5px #10131b;
  paint-order: stroke fill;
  text-shadow: 4px 5px 0 #10131b, -2px -2px 0 #10131b;
  filter: drop-shadow(0 3px 0 #fff8e9b3);
}
.hero h1 span:last-child { padding-left: .14em; }
.hero__signature {
  position: relative;
  top: auto;
  right: auto;
  left: 0;
  display: inline-block;
  margin-top: 17px;
  padding: 7px 0;
  border: 0;
  color: #f2aec8;
  background: none;
  font-size: 10px;
  font-weight: 700;
  text-shadow: none;
  backdrop-filter: none;
  transform: none;
}
.hero__intro { margin-top: 20px; max-width: 480px; color: #fff8e9c7; }
.hero-card {
  top: 9%;
  right: max(34px, calc((100vw - 1360px) / 2));
  width: clamp(410px, 39vw, 590px);
  height: min(84vh, 780px);
  min-height: 590px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  clip-path: none;
  box-shadow: none;
}
.hero-card::after, .hero-card__photo::after { display: none; }
.hero-card__photo { overflow: visible; background: transparent; clip-path: none; }
.hero-card__photo img {
  object-fit: contain;
  object-position: center bottom;
  filter: saturate(.98) contrast(1.02) drop-shadow(0 30px 32px rgba(0,0,0,.46));
}
.hero-card:hover .hero-card__photo img {
  filter: saturate(1.06) contrast(1.03) drop-shadow(0 34px 36px rgba(0,0,0,.5));
}
.hero-card__chrome, .hero-card::before { display: none; }
.hero-card__stamp { right: 4%; bottom: 9%; background: #f3cdb7; color: #17141b; clip-path: none; }
.hero-card__stamp strong { font-style: normal; }
.hero-card__caption { display: none; }
.hero__edition {
  position: absolute;
  top: auto;
  bottom: 30px;
  right: 35%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--display);
  font-style: normal;
  font-size: 180px;
  font-weight: 900;
  line-height: .74;
  letter-spacing: -.08em;
  color: #f4a5c1;
  -webkit-text-stroke: 3px #11131c;
  paint-order: stroke fill;
  pointer-events: none;
  transform: translate3d(0, calc(var(--hero-travel) * -65px), 0);
}
.hero__edition span { background: linear-gradient(#edd0ed, #ee82b0 58%, #ffbc96); background-clip: text; -webkit-background-clip: text; color: transparent; }
.hero__edition small { margin-top: 14px; font-family: var(--body); font-size: 7px; letter-spacing: .14em; color: var(--paper); -webkit-text-stroke: 0; }
.ticker { height: 54px; background: #f3b5ca; border: 0; color: #161421; box-shadow: none; }
.ticker span { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: .04em; }
.ticker i { color: #443252; font-size: 18px; }

/* Loading-screen collage > full day frame > night frame. Scroll is reversible. */
.vice-scene {
  --vice-progress: 0;
  --vice-open: 0;
  --vice-night: 0;
  position: relative;
  height: 310vh;
  background: #0a0e16;
  isolation: isolate;
}
.vice-scene__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #0a0e16; }
.vice-scene__panel { position: absolute; inset: 0; overflow: hidden; }
.vice-scene__panel img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.vice-scene__panel--day {
  z-index: 1;
  clip-path: polygon(
    calc(2% - var(--vice-open) * 2%) calc(3% - var(--vice-open) * 3%),
    calc(71% + var(--vice-open) * 29%) calc(3% - var(--vice-open) * 3%),
    calc(66% + var(--vice-open) * 34%) calc(97% + var(--vice-open) * 3%),
    calc(2% - var(--vice-open) * 2%) calc(97% + var(--vice-open) * 3%)
  );
}
.vice-scene__panel--day img {
  object-position: 59% center;
  transform: scale(calc(1.12 - var(--vice-open) * .12 + var(--vice-progress) * .065));
  transform-origin: 67% 65%;
}
.vice-scene__panel--night {
  z-index: 2;
  opacity: calc(1 - var(--vice-open) + var(--vice-night));
  clip-path: polygon(
    calc(72% - var(--vice-night) * 72%) calc(3% - var(--vice-night) * 3%),
    calc(98% + var(--vice-night) * 2%) calc(3% - var(--vice-night) * 3%),
    calc(98% + var(--vice-night) * 2%) calc(52% + var(--vice-night) * 48%),
    calc(69.4% - var(--vice-night) * 69.4%) calc(47% + var(--vice-night) * 53%)
  );
}
.vice-scene__panel--night img { object-position: 70% center; transform: scale(calc(1.09 - var(--vice-night) * .09)); }
.vice-scene__panel--night > span { position: absolute; top: 8%; right: 4%; color: #fff8e9; font-size: 8px; letter-spacing: .17em; opacity: calc(1 - var(--vice-open)); }
.vice-scene__map {
  position: absolute;
  top: 49%; right: 2%; bottom: 3%; left: 68%;
  z-index: 3;
  overflow: hidden;
  opacity: calc(1 - var(--vice-open));
  background: #89aaa6;
  clip-path: polygon(5% 0, 100% 11%, 100% 100%, 0 100%);
  transform: translate3d(calc(var(--vice-open) * 100px), 0, 0);
}
.vice-scene__map::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, #0a101de8, transparent 70%); }
.vice-scene__map img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1) rotate(-8deg); }
.vice-scene__map > span, .vice-scene__map > strong { position: absolute; z-index: 1; left: 12%; }
.vice-scene__map > span { bottom: 27%; font-size: 8px; letter-spacing: .18em; }
.vice-scene__map > strong { bottom: 11%; font-family: var(--display); font-size: clamp(25px, 3.5vw, 56px); line-height: 1; }
.vice-scene__shade {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, #071019a6, #07101922 62%, transparent 80%), linear-gradient(0deg, #080d16c4, transparent 32%, transparent 82%, #080d16a6);
}
.vice-scene__topline, .vice-scene__bottomline { position: absolute; right: 5%; left: 5%; z-index: 8; display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.vice-scene__topline { top: 11%; }
.vice-scene__stars { font-size: 20px; letter-spacing: .25em; text-shadow: 0 2px 0 #070c15; }
.vice-scene__bottomline { bottom: 5%; }
.vice-scene__bottomline > span { display: inline-flex; align-items: center; gap: 12px; }
.vice-scene__bottomline i { width: 7px; height: 7px; background: #ecacd2; transform: rotate(45deg); }
.vice-scene__bottomline b { font-size: 23px; font-weight: 400; }
.vice-scene__copy { position: absolute; z-index: 6; left: 6%; bottom: 19%; width: 64%; }
.vice-scene__beat { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; transform: translate3d(0, 35px, 0); transition: opacity .35s ease, transform .6s cubic-bezier(.16,.8,.2,1), visibility .35s; }
.vice-scene__beat.is-active { position: relative; opacity: 1; visibility: visible; transform: none; }
.vice-scene__eyebrow { display: block; margin-bottom: 22px; font-size: 9px; font-weight: 700; letter-spacing: .16em; color: #fff8e9e0; }
.vice-scene__beat h2 { font-family: var(--display); font-size: clamp(70px, 7.9vw, 126px); font-weight: 900; font-style: normal; letter-spacing: -.035em; line-height: .86; color: #fff8e9; text-shadow: 3px 5px 0 #0d1429; -webkit-text-stroke: 2px #0d1429; paint-order: stroke fill; }
.vice-scene__beat h2 em { color: #f2b6cd; font-style: normal; }
.vice-scene__beat p { margin-top: 26px; max-width: 360px; color: #fff8e9e8; font-size: 13px; line-height: 1.75; text-shadow: 0 2px 8px #03090e; }
.vice-scene__link { display: inline-flex; gap: 32px; align-items: center; margin-top: 24px; padding: 12px 0; border-bottom: 1px solid #fff8e980; font-size: 11px; font-weight: 600; }
.vice-scene__link span { color: #f2b6cd; font-size: 21px; }
.vice-scene__link:hover { color: #f2b6cd; }
.vice-scene__emblem { position: absolute; z-index: 5; top: 36%; right: 20%; font-family: var(--display); font-size: clamp(110px, 15vw, 230px); font-weight: 900; letter-spacing: -.09em; line-height: 1; color: #f1aed2; -webkit-text-stroke: 4px #0a0e16; paint-order: stroke fill; text-shadow: 3px 5px 0 #0a0e16; opacity: calc(1 - var(--vice-open)); transform: rotate(4deg) scale(calc(1 + var(--vice-open) * .8)); }
.vice-scene__progress { position: absolute; z-index: 8; bottom: 0; left: 0; width: 100%; height: 4px; background: #fff8e918; }
.vice-scene__progress i { display: block; width: 0; height: 100%; background: #ee82b0; }

/* The same printed, street-level art direction continues through the portfolio. */
.section__label > span:first-child { border-color: #f3b5ca60; color: #f3b5ca; }
.about__photo { border: 5px solid #fff8e9; box-shadow: 12px 12px 0 #241e32; }
.about__tape { background: #f3b5ca; color: #191523; box-shadow: 4px 4px 0 #080b14; }
.about__scanner { display: none; }
.about__copy h2 em { color: #f3b5ca; }
.project-card { border: 2px solid #fff8e930; border-radius: 0; }
.project-card__visual { border-right: 3px solid #0b0d16; }
.project-card__number { color: #fff8e9; opacity: .9; -webkit-text-stroke: 2px #10121d; paint-order: stroke fill; }
.project-card--sunset .project-card__visual { background: linear-gradient(#07132250, #07132270), url("../img/scenes/vice-boulevard.webp") 70% center / cover; }
.project-card--night .project-card__visual { background: linear-gradient(#070e1850, #070e1899), url("../img/scenes/vice-after-hours.webp") 65% center / cover; }
.project-card--coast .project-card__visual { background: #1b3334 url("../img/canva/vice-district-map.svg") center / cover; }
.project-card__orb, .project-card__waves { display: none; }
.project-card__window, .project-card__poster, .project-card__dashboard { background: #101320c9; border-color: #fff8e96b; box-shadow: 7px 9px 0 #060b1480; backdrop-filter: blur(5px); }
.contact__sky { background: linear-gradient(90deg, #090e16f2, #090e16ad), url("../img/scenes/vice-after-hours.webp") center / cover; }
.contact__sky::before, .contact__sky::after, .contact__sun, .contact__grid { display: none; }
.site-footer > p { max-width: 365px; line-height: 1.65; }

@media (min-width: 821px) and (max-width: 1100px) {
  .hero__copy { width: 53vw; }
  .hero-card { right: 8px; width: 45vw; }
  .hero__edition { right: 32%; font-size: 150px; }
}

@media (max-width: 820px) {
  .hero { min-height: 1100px; }
  .hero__copy { width: calc(100% - 64px); padding-top: 180px; }
  .hero h1, .js .hero h1[data-reveal] { font-size: clamp(100px, 18vw, 146px); }
  .hero__meta { width: calc(100% - 64px); }
  .hero-card { top: 570px; right: 7%; width: min(66vw, 470px); height: 490px; min-height: 0; }
  .hero__edition { right: auto; left: 10%; bottom: 125px; font-size: 180px; }
  .hero__signature { margin-top: 13px; font-size: 9px; }
  .hero__intro { max-width: 490px; }
  .vice-scene { height: 280vh; }
  .vice-scene__copy { width: 84%; left: 7%; bottom: 16%; }
  .vice-scene__beat h2 { font-size: clamp(62px, 10vw, 94px); }
  .vice-scene__topline { top: 13%; }
  .vice-scene__topline > span:first-child { font-size: 7px; }
  .vice-scene__stars { font-size: 15px; }
  .vice-scene__emblem { top: 26%; right: 15%; font-size: 150px; }
  .vice-scene__map > span { bottom: 37%; font-size: 6px; }
  .vice-scene__map > strong { bottom: 22%; font-size: 27px; }
  .vice-scene__beat p { font-size: 12px; }
  .vice-scene__eyebrow { font-size: 7px; }
  .vice-scene__bottomline { font-size: 7px; }
  .vice-scene__panel--day img { object-position: 65% center; }
  .vice-scene__shade { background: linear-gradient(0deg, #080d16ed, #080d164d 65%, #080d1666); }
}

@media (max-width: 560px) {
  .hero { min-height: 1080px; }
  .hero__copy { width: calc(100% - 40px); padding-top: 161px; }
  .hero h1, .js .hero h1[data-reveal] { font-size: clamp(86px, 24vw, 130px); }
  .hero h1 span:first-child, .hero h1 span:last-child { -webkit-text-stroke-width: 3px; }
  .hero__meta { width: calc(100% - 40px); font-size: 6px; top: 115px; }
  .hero__signature { font-size: 8px; }
  .hero__intro { margin-top: 14px; font-size: 12px; }
  .hero-card { top: 575px; right: 2%; width: 84vw; height: 445px; }
  .hero__edition { left: 5%; bottom: 126px; font-size: 138px; }
  .hero__edition small { font-size: 5px; }
  .hero-card__caption { right: 94px; font-size: 6px; }
  .hero-card__stamp { width: 50px; height: 50px; }
  .ticker { height: 44px; }
  .ticker span { font-size: 18px; padding: 0 22px; }
  .vice-scene__copy { width: 90%; left: 5%; bottom: 17%; }
  .vice-scene__beat h2 { font-size: clamp(45px, 12.5vw, 70px); -webkit-text-stroke-width: 1px; }
  .vice-scene__eyebrow { font-size: 6px; letter-spacing: .11em; margin-bottom: 18px; }
  .vice-scene__beat p { margin-top: 18px; font-size: 11px; }
  .vice-scene__emblem { top: 28%; right: 12%; font-size: 100px; }
  .vice-scene__map { top: 43%; bottom: 38%; }
  .vice-scene__map > span, .vice-scene__map > strong, .vice-scene__panel--night > span { display: none; }
  .vice-scene__panel--night img { object-position: 72% center; }
  .vice-scene__link { font-size: 10px; margin-top: 16px; }
  .vice-scene__topline { font-size: 6px; }
  .vice-scene__stars { font-size: 12px; }
  .vice-scene__bottomline { font-size: 6px; letter-spacing: .1em; }
}

/* Short desktop windows must not clip the sticky scenes or their controls. */
@media (min-width: 961px) and (max-height: 800px) {
  .projects__sticky, .city-journey__sticky, .contact-story__sticky, .kinetic-break__sticky { min-height: 0; height: 100svh; }
  .projects__sticky { padding-top: 80px; padding-bottom: 60px; }
  .projects .section__head { margin-bottom: 20px; }
  .projects .section__head h2 { font-size: clamp(40px, 7vh, 64px); }
  .projects .project-card { min-height: 0; height: 45vh; }
  .projects .project-card__copy { padding: 25px; }
  .projects .project-card__copy h3 { font-size: 38px; }
  .vice-scene__copy { bottom: 16%; }
  .vice-scene__beat h2 { font-size: clamp(60px, 11vh, 108px); }
}

html:not(.js) .vice-scene { height: auto; }
html:not(.js) .vice-scene__sticky { position: relative; min-height: 640px; }
html:not(.js) .loading-screen { display: none; }
@media (prefers-reduced-motion: reduce) {
  .vice-scene { height: auto; }
  .vice-scene__sticky { position: relative; min-height: 580px; }
  .vice-scene__panel--day { clip-path: none; }
  .vice-scene__panel img, .hero__sky, .hero__edition { transform: none; }
  .vice-scene__panel--night, .vice-scene__map, .vice-scene__emblem, .vice-scene__bottomline > span:last-child { display: none; }
  .vice-scene__beat { transition: none; }
}
